diff options
| author | 2006-10-22 20:02:33 +0000 | |
|---|---|---|
| committer | 2006-10-22 20:02:33 +0000 | |
| commit | 93f7aad8ce487fbfa3561070d2e49c81bb4e6816 (patch) | |
| tree | 1df3f2b63022124d8c24087b1aa87adac6af9d97 /src/cmd_list.cpp | |
| parent | Delete idents when disconnecting? (diff) | |
mIRC sucks, and its author does too!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5526 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_list.cpp')
| -rw-r--r-- | src/cmd_list.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cmd_list.cpp b/src/cmd_list.cpp index eaf96c097..3371fc738 100644 --- a/src/cmd_list.cpp +++ b/src/cmd_list.cpp @@ -29,6 +29,11 @@ extern "C" command_t* init_command(InspIRCd* Instance) CmdResult cmd_list::Handle (const char** parameters, int pcnt, userrec *user) { user->WriteServ("321 %s Channel :Users Name",user->nick); + + /* Work around mIRC suckyness. YOU SUCK, KHALED! */ + if ((pcnt == 1) && (*parameters[0] == '<')) + pcnt = 0; + for (chan_hash::const_iterator i = ServerInstance->chanlist.begin(); i != ServerInstance->chanlist.end(); i++) { // attempt to match a glob pattern |
