mirror of
https://github.com/thelounge/thelounge.git
synced 2024-06-10 09:42:18 +02:00
Remove unnecessary switch
This commit is contained in:
parent
96d96d1288
commit
edbc99915d
|
@ -7,8 +7,6 @@ const commands = ["who"];
|
||||||
const parseWhoxResponse = (user: ClientUser, args: string) => {
|
const parseWhoxResponse = (user: ClientUser, args: string) => {
|
||||||
const parseFieldNameForLounge = (field: string) => {
|
const parseFieldNameForLounge = (field: string) => {
|
||||||
switch (field) {
|
switch (field) {
|
||||||
case "channel":
|
|
||||||
return "channel"; // no-op for now
|
|
||||||
case "nickname":
|
case "nickname":
|
||||||
return "nick";
|
return "nick";
|
||||||
case "username":
|
case "username":
|
||||||
|
|
Loading…
Reference in a new issue