diff options
| author | 2006-01-31 21:55:34 +0000 | |
|---|---|---|
| committer | 2006-01-31 21:55:34 +0000 | |
| commit | 5feabe435758fda7348d352b4b3410b769e4cd26 (patch) | |
| tree | 92472f62cb55c820d1e6ec843768b72f2c68deab /src/cmd_list.cpp | |
| parent | Optimized WriteServ - why use %s!%s@%s when we have the more optimal userrec:... (diff) | |
Key hiding when youre not on the channel
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2998 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_list.cpp')
| -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 8d7756683..262738fb3 100644 --- a/src/cmd_list.cpp +++ b/src/cmd_list.cpp @@ -48,7 +48,7 @@ void cmd_list::Handle (char **parameters, int pcnt, userrec *user) // if the channel is not private/secret, OR the user is on the channel anyway if (((!(i->second->binarymodes & CM_PRIVATE)) && (!(i->second->binarymodes & CM_SECRET))) || (has_channel(user,i->second))) { - WriteServ(user->fd,"322 %s %s %d :[+%s] %s",user->nick,i->second->name,usercount_i(i->second),chanmodes(i->second),i->second->topic); + WriteServ(user->fd,"322 %s %s %d :[+%s] %s",user->nick,i->second->name,usercount_i(i->second),chanmodes(i->second,has_channel(user,i->second)),i->second->topic); } } WriteServ(user->fd,"323 %s :End of channel list.",user->nick); |
