summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/cmd_join.cpp4
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]);
+ }
}