diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-25 16:06:48 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-05-25 16:06:48 +0000 |
commit | 3d563fec88789591d82b8ffd1a75f8b55b61c604 (patch) | |
tree | 10c05b6a2434abf067cfd6fb23cef07305329624 /src | |
parent | 03bf72c331d93c29d689df216e8bf8eb3a6b4266 (diff) |
Fix for /list glob bug in core LIST reported by HiroP, bug #304
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7134 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/cmd_list.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cmd_list.cpp b/src/cmd_list.cpp index ab073b9e8..566055dbe 100644 --- a/src/cmd_list.cpp +++ b/src/cmd_list.cpp @@ -56,7 +56,7 @@ CmdResult cmd_list::Handle (const char** parameters, int pcnt, userrec *user) if (too_many || too_few) continue; - if (pcnt && (!match(i->second->name, parameters[0]) || (*i->second->topic && !match(i->second->topic, parameters[0])))) + if ((pcnt && (!match(i->second->name, parameters[0])) || (*i->second->topic && !match(i->second->topic, parameters[0])))) continue; // if the channel is not private/secret, OR the user is on the channel anyway |