public:
/** Constructor for commands.
*/
- CommandCommands ( Module* parent) : Command(parent,"COMMANDS",0,0) { }
+ CommandCommands(Module* parent) : Command(parent,"COMMANDS",0,0)
+ {
+ Penalty = 3;
+ }
+
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
sort(list.begin(), list.end());
for(unsigned int i=0; i < list.size(); i++)
user->Write(list[i]);
- user->WriteNumeric(RPL_COMMANDSEND, "%s :End of COMMANDS list",user->nick.c_str());
+ user->WriteNumeric(RPL_COMMANDSEND, ":End of COMMANDS list");
return CMD_SUCCESS;
}