diff options
Diffstat (limited to 'src/cmd_notice.cpp')
-rw-r--r-- | src/cmd_notice.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/cmd_notice.cpp b/src/cmd_notice.cpp index 589bf38c7..784f1e185 100644 --- a/src/cmd_notice.cpp +++ b/src/cmd_notice.cpp @@ -115,11 +115,11 @@ void cmd_notice::Handle (char **parameters, int pcnt, userrec *user) } parameters[1] = (char*)temp.c_str(); - if (temp == "") - { - WriteServ(user->fd,"412 %s No text to send", user->nick); - return; - } + if (temp == "") + { + WriteServ(user->fd,"412 %s No text to send", user->nick); + return; + } ChanExceptSender(chan, user, status, "NOTICE %s :%s", chan->name, parameters[1]); |