From 5613d701785b61e09a2327bdea41acdd25cb9ef5 Mon Sep 17 00:00:00 2001 From: Attila Molnar Date: Tue, 4 Mar 2014 13:30:56 +0100 Subject: [PATCH] Remove out of date doc and fix typo in commands/cmd_*.cpp --- src/commands/cmd_admin.cpp | 8 ++------ src/commands/cmd_away.cpp | 8 ++------ src/commands/cmd_commands.cpp | 8 ++------ src/commands/cmd_connect.cpp | 8 ++------ src/commands/cmd_die.cpp | 8 ++------ src/commands/cmd_eline.cpp | 8 ++------ src/commands/cmd_gline.cpp | 8 ++------ src/commands/cmd_info.cpp | 8 ++------ src/commands/cmd_invite.cpp | 8 ++------ src/commands/cmd_ison.cpp | 8 ++------ src/commands/cmd_join.cpp | 8 ++------ src/commands/cmd_kick.cpp | 8 ++------ src/commands/cmd_kill.cpp | 8 ++------ src/commands/cmd_kline.cpp | 8 ++------ src/commands/cmd_links.cpp | 8 ++------ src/commands/cmd_list.cpp | 8 ++------ src/commands/cmd_loadmodule.cpp | 8 ++------ src/commands/cmd_lusers.cpp | 8 ++------ src/commands/cmd_mode.cpp | 8 ++------ src/commands/cmd_modules.cpp | 8 ++------ src/commands/cmd_motd.cpp | 8 ++------ src/commands/cmd_names.cpp | 8 ++------ src/commands/cmd_nick.cpp | 8 ++------ src/commands/cmd_oper.cpp | 8 ++------ src/commands/cmd_part.cpp | 8 ++------ src/commands/cmd_pass.cpp | 8 ++------ src/commands/cmd_ping.cpp | 8 ++------ src/commands/cmd_pong.cpp | 8 ++------ src/commands/cmd_privmsg.cpp | 2 +- src/commands/cmd_qline.cpp | 2 +- src/commands/cmd_quit.cpp | 8 ++------ src/commands/cmd_rehash.cpp | 8 ++------ src/commands/cmd_reloadmodule.cpp | 3 +-- src/commands/cmd_restart.cpp | 3 +-- src/commands/cmd_server.cpp | 8 ++------ src/commands/cmd_squit.cpp | 8 ++------ src/commands/cmd_stats.cpp | 8 ++------ src/commands/cmd_time.cpp | 8 ++------ src/commands/cmd_topic.cpp | 8 ++------ src/commands/cmd_unloadmodule.cpp | 8 ++------ src/commands/cmd_user.cpp | 8 ++------ src/commands/cmd_userhost.cpp | 8 ++------ src/commands/cmd_version.cpp | 8 ++------ src/commands/cmd_wallops.cpp | 8 ++------ src/commands/cmd_who.cpp | 8 ++------ src/commands/cmd_whois.cpp | 8 ++------ src/commands/cmd_zline.cpp | 8 ++------ 47 files changed, 90 insertions(+), 264 deletions(-) diff --git a/src/commands/cmd_admin.cpp b/src/commands/cmd_admin.cpp index 0d6c235f0..1f694bf2e 100644 --- a/src/commands/cmd_admin.cpp +++ b/src/commands/cmd_admin.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /ADMIN. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /ADMIN. */ class CommandAdmin : public Command { @@ -37,8 +34,7 @@ class CommandAdmin : public Command } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_away.cpp b/src/commands/cmd_away.cpp index 6a95212e6..4f61cec3f 100644 --- a/src/commands/cmd_away.cpp +++ b/src/commands/cmd_away.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /AWAY. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /AWAY. */ class CommandAway : public Command { @@ -32,8 +29,7 @@ class CommandAway : public Command */ CommandAway ( Module* parent) : Command(parent,"AWAY",0,0) { syntax = "[]"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_commands.cpp b/src/commands/cmd_commands.cpp index c45616061..3f0ab99c1 100644 --- a/src/commands/cmd_commands.cpp +++ b/src/commands/cmd_commands.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /COMMANDS. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /COMMANDS. */ class CommandCommands : public Command { @@ -36,8 +33,7 @@ class CommandCommands : public Command } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_connect.cpp b/src/commands/cmd_connect.cpp index 7cf4752d2..59e7487a7 100644 --- a/src/commands/cmd_connect.cpp +++ b/src/commands/cmd_connect.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /CONNECT. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /CONNECT. */ class CommandConnect : public Command { @@ -32,8 +29,7 @@ class CommandConnect : public Command */ CommandConnect ( Module* parent) : Command(parent,"CONNECT",1) { flags_needed = 'o'; syntax = " []"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_die.cpp b/src/commands/cmd_die.cpp index 13fa6c47e..63e4c596a 100644 --- a/src/commands/cmd_die.cpp +++ b/src/commands/cmd_die.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /DIE. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /DIE. */ class CommandDie : public Command { @@ -32,8 +29,7 @@ class CommandDie : public Command */ CommandDie ( Module* parent) : Command(parent,"DIE",1) { flags_needed = 'o'; syntax = ""; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_eline.cpp b/src/commands/cmd_eline.cpp index 8025ba15a..509089d3e 100644 --- a/src/commands/cmd_eline.cpp +++ b/src/commands/cmd_eline.cpp @@ -21,10 +21,7 @@ #include "inspircd.h" #include "xline.h" -/** Handle /ELINE. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /ELINE. */ class CommandEline : public Command { @@ -33,8 +30,7 @@ class CommandEline : public Command */ CommandEline ( Module* parent) : Command(parent,"ELINE",1,3) { flags_needed = 'o'; syntax = " [ :]"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_gline.cpp b/src/commands/cmd_gline.cpp index bc81172d3..18a661b24 100644 --- a/src/commands/cmd_gline.cpp +++ b/src/commands/cmd_gline.cpp @@ -21,10 +21,7 @@ #include "inspircd.h" #include "xline.h" -/** Handle /GLINE. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /GLINE. */ class CommandGline : public Command { @@ -33,8 +30,7 @@ class CommandGline : public Command */ CommandGline (Module* parent) : Command(parent,"GLINE",1,3) { flags_needed = 'o'; Penalty = 0; syntax = " [ :]"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_info.cpp b/src/commands/cmd_info.cpp index 7ee1c4d3b..7f1e923c9 100644 --- a/src/commands/cmd_info.cpp +++ b/src/commands/cmd_info.cpp @@ -22,10 +22,7 @@ #include "inspircd.h" -/** Handle /INFO. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /INFO. */ class CommandInfo : public Command { @@ -39,8 +36,7 @@ class CommandInfo : public Command } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_invite.cpp b/src/commands/cmd_invite.cpp index 67345e0d2..25afc0713 100644 --- a/src/commands/cmd_invite.cpp +++ b/src/commands/cmd_invite.cpp @@ -22,10 +22,7 @@ #include "inspircd.h" -/** Handle /INVITE. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /INVITE. */ class CommandInvite : public Command { @@ -34,8 +31,7 @@ class CommandInvite : public Command */ CommandInvite ( Module* parent) : Command(parent,"INVITE", 0, 0) { Penalty = 4; syntax = "[ ]"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_ison.cpp b/src/commands/cmd_ison.cpp index 227f1b3ed..c7ead2a87 100644 --- a/src/commands/cmd_ison.cpp +++ b/src/commands/cmd_ison.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /ISON. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /ISON. */ class CommandIson : public Command { @@ -34,8 +31,7 @@ class CommandIson : public Command syntax = " {nick}"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_join.cpp b/src/commands/cmd_join.cpp index 1c90e4a2b..1e6e515ba 100644 --- a/src/commands/cmd_join.cpp +++ b/src/commands/cmd_join.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /JOIN. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /JOIN. */ class CommandJoin : public SplitCommand { @@ -38,8 +35,7 @@ class CommandJoin : public SplitCommand } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_kick.cpp b/src/commands/cmd_kick.cpp index 033a00c41..01f2039fa 100644 --- a/src/commands/cmd_kick.cpp +++ b/src/commands/cmd_kick.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /KICK. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /KICK. */ class CommandKick : public Command { @@ -32,8 +29,7 @@ class CommandKick : public Command */ CommandKick ( Module* parent) : Command(parent,"KICK",2,3) { syntax = " {,} []"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_kill.cpp b/src/commands/cmd_kill.cpp index f4120e763..454bab03f 100644 --- a/src/commands/cmd_kill.cpp +++ b/src/commands/cmd_kill.cpp @@ -21,10 +21,7 @@ #include "inspircd.h" -/** Handle /KILL. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /KILL. */ class CommandKill : public Command { @@ -40,8 +37,7 @@ class CommandKill : public Command TRANSLATE2(TR_CUSTOM, TR_CUSTOM); } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_kline.cpp b/src/commands/cmd_kline.cpp index e95a7ca66..c6a8c7cad 100644 --- a/src/commands/cmd_kline.cpp +++ b/src/commands/cmd_kline.cpp @@ -21,10 +21,7 @@ #include "inspircd.h" #include "xline.h" -/** Handle /KLINE. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /KLINE. */ class CommandKline : public Command { @@ -33,8 +30,7 @@ class CommandKline : public Command */ CommandKline ( Module* parent) : Command(parent,"KLINE",1,3) { flags_needed = 'o'; Penalty = 0; syntax = " [ :]"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_links.cpp b/src/commands/cmd_links.cpp index a81741150..8b44d7a19 100644 --- a/src/commands/cmd_links.cpp +++ b/src/commands/cmd_links.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /LINKS. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /LINKS. */ class CommandLinks : public Command { @@ -32,8 +29,7 @@ class CommandLinks : public Command */ CommandLinks ( Module* parent) : Command(parent,"LINKS",0,0) { } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_list.cpp b/src/commands/cmd_list.cpp index f840c9ab0..ceffae43a 100644 --- a/src/commands/cmd_list.cpp +++ b/src/commands/cmd_list.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /LIST. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /LIST. */ class CommandList : public Command { @@ -42,8 +39,7 @@ class CommandList : public Command } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_loadmodule.cpp b/src/commands/cmd_loadmodule.cpp index d49611659..458a8cd6f 100644 --- a/src/commands/cmd_loadmodule.cpp +++ b/src/commands/cmd_loadmodule.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /LOADMODULE. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /LOADMODULE. */ class CommandLoadmodule : public Command { @@ -32,8 +29,7 @@ class CommandLoadmodule : public Command */ CommandLoadmodule ( Module* parent) : Command(parent,"LOADMODULE",1,1) { flags_needed='o'; syntax = ""; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_lusers.cpp b/src/commands/cmd_lusers.cpp index 7cd0f2ca1..e56b1c0bb 100644 --- a/src/commands/cmd_lusers.cpp +++ b/src/commands/cmd_lusers.cpp @@ -45,10 +45,7 @@ struct LusersCounters } }; -/** Handle /LUSERS. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /LUSERS. */ class CommandLusers : public Command { @@ -60,8 +57,7 @@ class CommandLusers : public Command : Command(parent,"LUSERS",0,0), counters(Counters) { } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_mode.cpp b/src/commands/cmd_mode.cpp index 1a42835e5..d2e9b4f63 100644 --- a/src/commands/cmd_mode.cpp +++ b/src/commands/cmd_mode.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /MODE. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /MODE. */ class CommandMode : public Command { @@ -32,8 +29,7 @@ class CommandMode : public Command */ CommandMode ( Module* parent) : Command(parent,"MODE",1) { syntax = " {}"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_modules.cpp b/src/commands/cmd_modules.cpp index d9fa7d5d5..01774390d 100644 --- a/src/commands/cmd_modules.cpp +++ b/src/commands/cmd_modules.cpp @@ -21,10 +21,7 @@ #include "inspircd.h" -/** Handle /MODULES. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /MODULES. */ class CommandModules : public Command { @@ -38,8 +35,7 @@ class CommandModules : public Command } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_motd.cpp b/src/commands/cmd_motd.cpp index b28e57b2f..71df7017a 100644 --- a/src/commands/cmd_motd.cpp +++ b/src/commands/cmd_motd.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /MOTD. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /MOTD. */ class CommandMotd : public Command { @@ -32,8 +29,7 @@ class CommandMotd : public Command */ CommandMotd ( Module* parent) : Command(parent,"MOTD",0,1) { syntax = "[]"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_names.cpp b/src/commands/cmd_names.cpp index 206b1ccaa..8c8bc58dd 100644 --- a/src/commands/cmd_names.cpp +++ b/src/commands/cmd_names.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /NAMES. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /NAMES. */ class CommandNames : public Command { @@ -40,8 +37,7 @@ class CommandNames : public Command } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_nick.cpp b/src/commands/cmd_nick.cpp index 26061490d..486fce7eb 100644 --- a/src/commands/cmd_nick.cpp +++ b/src/commands/cmd_nick.cpp @@ -22,10 +22,7 @@ #include "inspircd.h" -/** Handle /NICK. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /NICK. */ class CommandNick : public Command { @@ -34,8 +31,7 @@ class CommandNick : public Command */ CommandNick ( Module* parent) : Command(parent,"NICK", 1, 1) { works_before_reg = true; syntax = ""; Penalty = 0; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_oper.cpp b/src/commands/cmd_oper.cpp index a70c93dd1..bd7a35060 100644 --- a/src/commands/cmd_oper.cpp +++ b/src/commands/cmd_oper.cpp @@ -21,10 +21,7 @@ #include "inspircd.h" -/** Handle /OPER. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /OPER. */ class CommandOper : public SplitCommand { @@ -33,8 +30,7 @@ class CommandOper : public SplitCommand */ CommandOper ( Module* parent) : SplitCommand(parent,"OPER",2,2) { syntax = " "; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_part.cpp b/src/commands/cmd_part.cpp index 83aab1d82..f427063ea 100644 --- a/src/commands/cmd_part.cpp +++ b/src/commands/cmd_part.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /PART. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /PART. */ class CommandPart : public Command { @@ -32,8 +29,7 @@ class CommandPart : public Command */ CommandPart (Module* parent) : Command(parent,"PART", 1, 2) { Penalty = 5; syntax = "{,} []"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_pass.cpp b/src/commands/cmd_pass.cpp index 56e52425e..66b2b5726 100644 --- a/src/commands/cmd_pass.cpp +++ b/src/commands/cmd_pass.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /PASS. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /PASS. */ class CommandPass : public SplitCommand { @@ -32,8 +29,7 @@ class CommandPass : public SplitCommand */ CommandPass (Module* parent) : SplitCommand(parent,"PASS",1,1) { works_before_reg = true; Penalty = 0; syntax = ""; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_ping.cpp b/src/commands/cmd_ping.cpp index 3ccadd929..06135f83c 100644 --- a/src/commands/cmd_ping.cpp +++ b/src/commands/cmd_ping.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /PING. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /PING. */ class CommandPing : public Command { @@ -32,8 +29,7 @@ class CommandPing : public Command */ CommandPing ( Module* parent) : Command(parent,"PING", 1, 2) { Penalty = 0; syntax = " [:]"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_pong.cpp b/src/commands/cmd_pong.cpp index 825168de7..06db92604 100644 --- a/src/commands/cmd_pong.cpp +++ b/src/commands/cmd_pong.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /PONG. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /PONG. */ class CommandPong : public Command { @@ -32,8 +29,7 @@ class CommandPong : public Command */ CommandPong ( Module* parent) : Command(parent,"PONG", 0, 1) { Penalty = 0; syntax = ""; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_privmsg.cpp b/src/commands/cmd_privmsg.cpp index 07d4a9cf7..0cca56771 100644 --- a/src/commands/cmd_privmsg.cpp +++ b/src/commands/cmd_privmsg.cpp @@ -41,7 +41,7 @@ class MessageCommandBase : public Command } /** Handle command. - * @param parameters The parameters to the comamnd + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_qline.cpp b/src/commands/cmd_qline.cpp index 06b0e74f1..003aacbef 100644 --- a/src/commands/cmd_qline.cpp +++ b/src/commands/cmd_qline.cpp @@ -30,7 +30,7 @@ class CommandQline : public Command */ CommandQline ( Module* parent) : Command(parent,"QLINE",1,3) { flags_needed = 'o'; Penalty = 0; syntax = " [ :]"; } /** Handle command. - * @param parameters The parameters to the comamnd + * @param parameters The parameters to the command * @param pcnt The number of parameters passed to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. diff --git a/src/commands/cmd_quit.cpp b/src/commands/cmd_quit.cpp index 144f4675b..15dc07d6c 100644 --- a/src/commands/cmd_quit.cpp +++ b/src/commands/cmd_quit.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /QUIT. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /QUIT. */ class CommandQuit : public Command { @@ -32,8 +29,7 @@ class CommandQuit : public Command */ CommandQuit ( Module* parent) : Command(parent,"QUIT",0,1) { works_before_reg = true; syntax = "[]"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_rehash.cpp b/src/commands/cmd_rehash.cpp index 07183ec7d..f71219f75 100644 --- a/src/commands/cmd_rehash.cpp +++ b/src/commands/cmd_rehash.cpp @@ -21,10 +21,7 @@ #include "inspircd.h" -/** Handle /REHASH. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /REHASH. */ class CommandRehash : public Command { @@ -33,8 +30,7 @@ class CommandRehash : public Command */ CommandRehash ( Module* parent) : Command(parent,"REHASH",0) { flags_needed = 'o'; Penalty = 2; syntax = "[]"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_reloadmodule.cpp b/src/commands/cmd_reloadmodule.cpp index 6ce7358da..765c465fd 100644 --- a/src/commands/cmd_reloadmodule.cpp +++ b/src/commands/cmd_reloadmodule.cpp @@ -27,8 +27,7 @@ class CommandReloadmodule : public Command */ CommandReloadmodule ( Module* parent) : Command( parent, "RELOADMODULE",1) { flags_needed = 'o'; syntax = ""; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_restart.cpp b/src/commands/cmd_restart.cpp index 92a243eab..33627b540 100644 --- a/src/commands/cmd_restart.cpp +++ b/src/commands/cmd_restart.cpp @@ -29,8 +29,7 @@ class CommandRestart : public Command */ CommandRestart(Module* parent) : Command(parent,"RESTART",1,1) { flags_needed = 'o'; syntax = ""; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_server.cpp b/src/commands/cmd_server.cpp index 08c221584..8c32dafa8 100644 --- a/src/commands/cmd_server.cpp +++ b/src/commands/cmd_server.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /SERVER. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /SERVER. */ class CommandServer : public Command { @@ -32,8 +29,7 @@ class CommandServer : public Command */ CommandServer ( Module* parent) : Command(parent,"SERVER") { works_before_reg = true;} /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_squit.cpp b/src/commands/cmd_squit.cpp index 064d2a31d..e64f5fc0f 100644 --- a/src/commands/cmd_squit.cpp +++ b/src/commands/cmd_squit.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /SQUIT. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /SQUIT. */ class CommandSquit : public Command { @@ -32,8 +29,7 @@ class CommandSquit : public Command */ CommandSquit ( Module* parent) : Command(parent,"SQUIT",1,2) { flags_needed = 'o'; syntax = " []"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_stats.cpp b/src/commands/cmd_stats.cpp index 9510136ff..8e74b8376 100644 --- a/src/commands/cmd_stats.cpp +++ b/src/commands/cmd_stats.cpp @@ -27,10 +27,7 @@ #pragma comment(lib, "psapi.lib") // For GetProcessMemoryInfo() #endif -/** Handle /STATS. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /STATS. */ class CommandStats : public Command { @@ -40,8 +37,7 @@ class CommandStats : public Command */ CommandStats ( Module* parent) : Command(parent,"STATS",1,2) { syntax = " []"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_time.cpp b/src/commands/cmd_time.cpp index 8c516ac42..9c4688029 100644 --- a/src/commands/cmd_time.cpp +++ b/src/commands/cmd_time.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /TIME. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /TIME. */ class CommandTime : public Command { @@ -32,8 +29,7 @@ class CommandTime : public Command */ CommandTime ( Module* parent) : Command(parent,"TIME",0,0) { syntax = "[]"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_topic.cpp b/src/commands/cmd_topic.cpp index 25daea142..2b0f81fb6 100644 --- a/src/commands/cmd_topic.cpp +++ b/src/commands/cmd_topic.cpp @@ -22,10 +22,7 @@ #include "inspircd.h" -/** Handle /TOPIC. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /TOPIC. */ class CommandTopic : public SplitCommand { @@ -45,8 +42,7 @@ class CommandTopic : public SplitCommand } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_unloadmodule.cpp b/src/commands/cmd_unloadmodule.cpp index 4e86d3ded..5d11e0256 100644 --- a/src/commands/cmd_unloadmodule.cpp +++ b/src/commands/cmd_unloadmodule.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /UNLOADMODULE. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /UNLOADMODULE. */ class CommandUnloadmodule : public Command { @@ -32,8 +29,7 @@ class CommandUnloadmodule : public Command */ CommandUnloadmodule ( Module* parent) : Command(parent,"UNLOADMODULE",1) { flags_needed = 'o'; syntax = ""; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_user.cpp b/src/commands/cmd_user.cpp index 932e3a9b8..cec11c104 100644 --- a/src/commands/cmd_user.cpp +++ b/src/commands/cmd_user.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /USER. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /USER. */ class CommandUser : public SplitCommand { @@ -32,8 +29,7 @@ class CommandUser : public SplitCommand */ CommandUser ( Module* parent) : SplitCommand(parent,"USER",4,4) { works_before_reg = true; Penalty = 0; syntax = " "; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_userhost.cpp b/src/commands/cmd_userhost.cpp index 933cbca04..541402c10 100644 --- a/src/commands/cmd_userhost.cpp +++ b/src/commands/cmd_userhost.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /USERHOST. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /USERHOST. */ class CommandUserhost : public Command { @@ -34,8 +31,7 @@ class CommandUserhost : public Command syntax = " {}"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_version.cpp b/src/commands/cmd_version.cpp index 8e6783b3c..032d9ea0c 100644 --- a/src/commands/cmd_version.cpp +++ b/src/commands/cmd_version.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /VERSION. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /VERSION. */ class CommandVersion : public Command { @@ -32,8 +29,7 @@ class CommandVersion : public Command */ CommandVersion ( Module* parent) : Command(parent,"VERSION",0,0) { syntax = "[]"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_wallops.cpp b/src/commands/cmd_wallops.cpp index e0e832ff7..731eaf3d2 100644 --- a/src/commands/cmd_wallops.cpp +++ b/src/commands/cmd_wallops.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /WALLOPS. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /WALLOPS. */ class CommandWallops : public Command { @@ -41,8 +38,7 @@ class CommandWallops : public Command } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_who.cpp b/src/commands/cmd_who.cpp index 2be724e91..dc39e296c 100644 --- a/src/commands/cmd_who.cpp +++ b/src/commands/cmd_who.cpp @@ -20,10 +20,7 @@ #include "inspircd.h" -/** Handle /WHO. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /WHO. */ class CommandWho : public Command { @@ -68,8 +65,7 @@ class CommandWho : public Command void SendWhoLine(User* user, const std::vector& parms, const std::string& initial, Membership* memb, User* u, std::vector& whoresults); /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_whois.cpp b/src/commands/cmd_whois.cpp index 61a4ad891..bd0b624d1 100644 --- a/src/commands/cmd_whois.cpp +++ b/src/commands/cmd_whois.cpp @@ -21,10 +21,7 @@ #include "inspircd.h" -/** Handle /WHOIS. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /WHOIS. */ class CommandWhois : public SplitCommand { @@ -50,8 +47,7 @@ class CommandWhois : public SplitCommand } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ diff --git a/src/commands/cmd_zline.cpp b/src/commands/cmd_zline.cpp index 2c5997558..eda5b2a46 100644 --- a/src/commands/cmd_zline.cpp +++ b/src/commands/cmd_zline.cpp @@ -21,10 +21,7 @@ #include "inspircd.h" #include "xline.h" -/** Handle /ZLINE. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. +/** Handle /ZLINE. */ class CommandZline : public Command { @@ -33,8 +30,7 @@ class CommandZline : public Command */ CommandZline ( Module* parent) : Command(parent,"ZLINE",1,3) { flags_needed = 'o'; Penalty = 0; syntax = " [ :]"; } /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command + * @param parameters The parameters to the command * @param user The user issuing the command * @return A value from CmdResult to indicate command success or failure. */ -- 2.39.5