]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/cmd_notice.cpp
- first steps towards a working IPv6 port. I'll work more on this tomorrow. :-P
[user/henk/code/inspircd.git] / src / cmd_notice.cpp
index 589bf38c7c09b89a66da603110f7e6ab519385dc..784f1e185b90377a8707ee180d192c77a85307d5 100644 (file)
@@ -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]);