]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/coremods/core_stub.cpp
Add new cross-module event system
[user/henk/code/inspircd.git] / src / coremods / core_stub.cpp
index 30c7ce752a39a5e9008281ef00e21c1c0f15e7f6..28adb9e6a0c9eab8c16e9665f6dd5a822f6f546f 100644 (file)
@@ -33,7 +33,7 @@ class CommandConnect : public Command
                : Command(parent, "CONNECT", 1)
        {
                flags_needed = 'o';
-               syntax = "<servername> [<remote-server>]";
+               syntax = "<servername>";
        }
 
        /** Handle command.
@@ -102,7 +102,7 @@ class CommandServer : public Command
                }
                else
                {
-                       user->WriteNumeric(ERR_NOTREGISTERED, ":You may not register as a server (servers have separate ports from clients, change your config)");
+                       user->WriteNumeric(ERR_NOTREGISTERED, "SERVER :You may not register as a server (servers have separate ports from clients, change your config)");
                }
                return CMD_FAILURE;
        }
@@ -119,7 +119,7 @@ class CommandSquit : public Command
                : Command(parent, "SQUIT", 1, 2)
        {
                flags_needed = 'o';
-               syntax = "<servername> [<reason>]";
+               syntax = "<servername>";
        }
 
        /** Handle command.