diff options
| author | 2005-12-06 11:39:29 +0000 | |
|---|---|---|
| committer | 2005-12-06 11:39:29 +0000 | |
| commit | 964e46857e87fadbcde15e85b5f3698f540116fa (patch) | |
| tree | 4ca3938087998edb30ede6684f74fb6043b294a0 /src/commands.cpp | |
| parent | Removed typos (whoops) (diff) | |
Fixed RFC-non-complaince of TOPIC and NAMES with +s channel (As reported by Ghost)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2215 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands.cpp')
| -rw-r--r-- | src/commands.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index efc2f1cbc..17f2c632e 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -476,7 +476,7 @@ void handle_topic(char **parameters, int pcnt, userrec *user) { if (((Ptr) && (!has_channel(user,Ptr))) && (Ptr->binarymodes & CM_SECRET)) { - WriteServ(user->fd,"442 %s %s :You're not on that channel!",user->nick, Ptr->name); + WriteServ(user->fd,"401 %s %s :No such nick/channel",user->nick, Ptr->name); return; } if (Ptr->topicset) @@ -563,7 +563,7 @@ void handle_names(char **parameters, int pcnt, userrec *user) { if (((c) && (!has_channel(user,c))) && (c->binarymodes & CM_SECRET)) { - WriteServ(user->fd,"442 %s %s :You're not on that channel!",user->nick, c->name); + WriteServ(user->fd,"401 %s %s :No such nick/channel",user->nick, c->name); return; } userlist(user,c); |
