diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-29 23:41:38 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-01-29 23:41:38 +0000 |
commit | cf32c306898ee24d19536fe6682ce461afa739cb (patch) | |
tree | 7a75e5b7709915735e8ec16c9fbb2f8c6852df55 /src/cmd_join.cpp | |
parent | 15314fa27a558a93f7aa7c1e32c6e4e9b4b4628b (diff) |
Fix to send 403 on invalid channel name
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2980 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/cmd_join.cpp')
-rw-r--r-- | src/cmd_join.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmd_join.cpp b/src/cmd_join.cpp index 148de057e..b1478392d 100644 --- a/src/cmd_join.cpp +++ b/src/cmd_join.cpp @@ -54,6 +54,10 @@ void cmd_join::Handle (char **parameters, int pcnt, userrec *user) { Ptr = add_channel(user,parameters[0],parameters[1],false); } + else + { + WriteServ(user->fd,"403 %s %s :Invalid channel name",user->nick, parameters[0]); + } } |