: Command(parent, "CONNECT", 1)
{
flags_needed = 'o';
- syntax = "<servername> [<remote-server>]";
+ syntax = "<servername>";
}
/** Handle 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;
}
: Command(parent, "SQUIT", 1, 2)
{
flags_needed = 'o';
- syntax = "<servername> [<reason>]";
+ syntax = "<servername>";
}
/** Handle command.