X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=src%2Fcommands%2Fcmd_list.cpp;h=eb28fb89c0ffe09fbd5f21e1702ae1fd6f5dc89b;hb=7ddef68f44ecb01f891e55a680078f7857fb866f;hp=2c420d1dde6561f5bb5223a717806a8bd7993b2c;hpb=383a68a38ab34fa8cc0884c854e8e255d927f399;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/src/commands/cmd_list.cpp b/src/commands/cmd_list.cpp index 2c420d1dd..eb28fb89c 100644 --- a/src/commands/cmd_list.cpp +++ b/src/commands/cmd_list.cpp @@ -49,8 +49,7 @@ CmdResult CommandList::Handle (const std::vector& parameters, User user->WriteNumeric(321, "%s Channel :Users Name",user->nick.c_str()); - /* Work around mIRC suckyness. YOU SUCK, KHALED! */ - if (parameters.size() == 1) + if ((parameters.size() == 1) && (!parameters[0].empty())) { if (parameters[0][0] == '<') {