summaryrefslogtreecommitdiff
path: root/include/commands
diff options
context:
space:
mode:
Diffstat (limited to 'include/commands')
-rw-r--r--include/commands/cmd_admin.h4
-rw-r--r--include/commands/cmd_away.h4
-rw-r--r--include/commands/cmd_clearcache.h4
-rw-r--r--include/commands/cmd_commands.h4
-rw-r--r--include/commands/cmd_connect.h4
-rw-r--r--include/commands/cmd_die.h4
-rw-r--r--include/commands/cmd_eline.h4
-rw-r--r--include/commands/cmd_gline.h4
-rw-r--r--include/commands/cmd_info.h4
-rw-r--r--include/commands/cmd_invite.h4
-rw-r--r--include/commands/cmd_ison.h4
-rw-r--r--include/commands/cmd_join.h4
-rw-r--r--include/commands/cmd_kick.h4
-rw-r--r--include/commands/cmd_kill.h4
-rw-r--r--include/commands/cmd_kline.h4
-rw-r--r--include/commands/cmd_links.h4
-rw-r--r--include/commands/cmd_list.h4
-rw-r--r--include/commands/cmd_loadmodule.h4
-rw-r--r--include/commands/cmd_lusers.h4
-rw-r--r--include/commands/cmd_map.h4
-rw-r--r--include/commands/cmd_mode.h4
-rw-r--r--include/commands/cmd_modules.h4
-rw-r--r--include/commands/cmd_motd.h4
-rw-r--r--include/commands/cmd_names.h4
-rw-r--r--include/commands/cmd_nick.h4
-rw-r--r--include/commands/cmd_notice.h4
-rw-r--r--include/commands/cmd_oper.h4
-rw-r--r--include/commands/cmd_part.h4
-rw-r--r--include/commands/cmd_pass.h4
-rw-r--r--include/commands/cmd_ping.h4
-rw-r--r--include/commands/cmd_pong.h4
-rw-r--r--include/commands/cmd_privmsg.h4
-rw-r--r--include/commands/cmd_qline.h4
-rw-r--r--include/commands/cmd_quit.h4
-rw-r--r--include/commands/cmd_rehash.h4
-rw-r--r--include/commands/cmd_reloadmodule.h4
-rw-r--r--include/commands/cmd_restart.h4
-rw-r--r--include/commands/cmd_rules.h4
-rw-r--r--include/commands/cmd_server.h4
-rw-r--r--include/commands/cmd_squit.h4
-rw-r--r--include/commands/cmd_stats.h4
-rw-r--r--include/commands/cmd_time.h4
-rw-r--r--include/commands/cmd_topic.h4
-rw-r--r--include/commands/cmd_trace.h4
-rw-r--r--include/commands/cmd_unloadmodule.h4
-rw-r--r--include/commands/cmd_user.h4
-rw-r--r--include/commands/cmd_userhost.h4
-rw-r--r--include/commands/cmd_version.h4
-rw-r--r--include/commands/cmd_wallops.h4
-rw-r--r--include/commands/cmd_who.h4
-rw-r--r--include/commands/cmd_whois.h4
-rw-r--r--include/commands/cmd_whowas.h6
-rw-r--r--include/commands/cmd_zline.h4
53 files changed, 107 insertions, 107 deletions
diff --git a/include/commands/cmd_admin.h b/include/commands/cmd_admin.h
index 8b85a3e95..e569e8fce 100644
--- a/include/commands/cmd_admin.h
+++ b/include/commands/cmd_admin.h
@@ -22,12 +22,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_admin : public Command
+class CommandAdmin : public Command
{
public:
/** Constructor for admin.
*/
- cmd_admin (InspIRCd* Instance) : Command(Instance,"ADMIN",0,0) { syntax = "[<servername>]"; }
+ CommandAdmin (InspIRCd* Instance) : Command(Instance,"ADMIN",0,0) { syntax = "[<servername>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_away.h b/include/commands/cmd_away.h
index 29255d936..33efeb67f 100644
--- a/include/commands/cmd_away.h
+++ b/include/commands/cmd_away.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_away : public Command
+class CommandAway : public Command
{
public:
/** Constructor for away.
*/
- cmd_away (InspIRCd* Instance) : Command(Instance,"AWAY",0,0) { syntax = "[<message>]"; }
+ CommandAway (InspIRCd* Instance) : Command(Instance,"AWAY",0,0) { syntax = "[<message>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_clearcache.h b/include/commands/cmd_clearcache.h
index 0af086609..17e4bd066 100644
--- a/include/commands/cmd_clearcache.h
+++ b/include/commands/cmd_clearcache.h
@@ -23,12 +23,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_clearcache : public Command
+class CommandClearcache : public Command
{
public:
/** Constructor for clearcache.
*/
- cmd_clearcache (InspIRCd* Instance) : Command(Instance,"CLEARCACHE",'o',0) { }
+ CommandClearcache (InspIRCd* Instance) : Command(Instance,"CLEARCACHE",'o',0) { }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_commands.h b/include/commands/cmd_commands.h
index 03a6c08ba..4e880c950 100644
--- a/include/commands/cmd_commands.h
+++ b/include/commands/cmd_commands.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_commands : public Command
+class CommandCommands : public Command
{
public:
/** Constructor for commands.
*/
- cmd_commands (InspIRCd* Instance) : Command(Instance,"COMMANDS",0,0) { }
+ CommandCommands (InspIRCd* Instance) : Command(Instance,"COMMANDS",0,0) { }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_connect.h b/include/commands/cmd_connect.h
index 97c4931a3..a3e8f3570 100644
--- a/include/commands/cmd_connect.h
+++ b/include/commands/cmd_connect.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_connect : public Command
+class CommandConnect : public Command
{
public:
/** Constructor for connect.
*/
- cmd_connect (InspIRCd* Instance) : Command(Instance,"CONNECT",'o',1,false,0) { syntax = "<servername> [<remote-server>]"; }
+ CommandConnect (InspIRCd* Instance) : Command(Instance,"CONNECT",'o',1,false,0) { syntax = "<servername> [<remote-server>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_die.h b/include/commands/cmd_die.h
index c078f67b7..e332deab5 100644
--- a/include/commands/cmd_die.h
+++ b/include/commands/cmd_die.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_die : public Command
+class CommandDie : public Command
{
public:
/** Constructor for die.
*/
- cmd_die (InspIRCd* Instance) : Command(Instance,"DIE",'o',1,false,0) { syntax = "<password>"; }
+ CommandDie (InspIRCd* Instance) : Command(Instance,"DIE",'o',1,false,0) { syntax = "<password>"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_eline.h b/include/commands/cmd_eline.h
index 25c403be4..f4518b57e 100644
--- a/include/commands/cmd_eline.h
+++ b/include/commands/cmd_eline.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_eline : public Command
+class CommandEline : public Command
{
public:
/** Constructor for eline.
*/
- cmd_eline (InspIRCd* Instance) : Command(Instance,"ELINE",'o',1) { syntax = "<ident@host> [<duration> :<reason>]"; }
+ CommandEline (InspIRCd* Instance) : Command(Instance,"ELINE",'o',1) { syntax = "<ident@host> [<duration> :<reason>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_gline.h b/include/commands/cmd_gline.h
index 8a9891a30..2fd5de48b 100644
--- a/include/commands/cmd_gline.h
+++ b/include/commands/cmd_gline.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_gline : public Command
+class CommandGline : public Command
{
public:
/** Constructor for gline.
*/
- cmd_gline (InspIRCd* Instance) : Command(Instance,"GLINE",'o',1,false,0) { syntax = "<ident@host> [<duration> :<reason>]"; }
+ CommandGline (InspIRCd* Instance) : Command(Instance,"GLINE",'o',1,false,0) { syntax = "<ident@host> [<duration> :<reason>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_info.h b/include/commands/cmd_info.h
index 578a83217..4fae27769 100644
--- a/include/commands/cmd_info.h
+++ b/include/commands/cmd_info.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_info : public Command
+class CommandInfo : public Command
{
public:
/** Constructor for info.
*/
- cmd_info (InspIRCd* Instance) : Command(Instance,"INFO",0,0) { syntax = "[<servermask>]"; }
+ CommandInfo (InspIRCd* Instance) : Command(Instance,"INFO",0,0) { syntax = "[<servermask>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_invite.h b/include/commands/cmd_invite.h
index 4232e10d5..2808809ec 100644
--- a/include/commands/cmd_invite.h
+++ b/include/commands/cmd_invite.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_invite : public Command
+class CommandInvite : public Command
{
public:
/** Constructor for invite.
*/
- cmd_invite (InspIRCd* Instance) : Command(Instance,"INVITE", 0, 0, false, 4) { syntax = "[<nick> <channel>]"; }
+ CommandInvite (InspIRCd* Instance) : Command(Instance,"INVITE", 0, 0, false, 4) { syntax = "[<nick> <channel>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_ison.h b/include/commands/cmd_ison.h
index e0ac4cc93..24ab33952 100644
--- a/include/commands/cmd_ison.h
+++ b/include/commands/cmd_ison.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_ison : public Command
+class CommandIson : public Command
{
public:
/** Constructor for ison.
*/
- cmd_ison (InspIRCd* Instance) : Command(Instance,"ISON",0,0) { syntax = "<nick> {nick}"; }
+ CommandIson (InspIRCd* Instance) : Command(Instance,"ISON",0,0) { syntax = "<nick> {nick}"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_join.h b/include/commands/cmd_join.h
index e1e720341..ecbe2bb2b 100644
--- a/include/commands/cmd_join.h
+++ b/include/commands/cmd_join.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_join : public Command
+class CommandJoin : public Command
{
public:
/** Constructor for join.
*/
- cmd_join (InspIRCd* Instance) : Command(Instance,"JOIN", 0, 1, false, 2) { syntax = "<channel>{,<channel>} {<key>{,<key>}}"; }
+ CommandJoin (InspIRCd* Instance) : Command(Instance,"JOIN", 0, 1, false, 2) { syntax = "<channel>{,<channel>} {<key>{,<key>}}"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_kick.h b/include/commands/cmd_kick.h
index 769ab316e..600c79396 100644
--- a/include/commands/cmd_kick.h
+++ b/include/commands/cmd_kick.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_kick : public Command
+class CommandKick : public Command
{
public:
/** Constructor for kick.
*/
- cmd_kick (InspIRCd* Instance) : Command(Instance,"KICK",0,2) { syntax = "<channel> <nick>{,<nick>} [<reason>]"; }
+ CommandKick (InspIRCd* Instance) : Command(Instance,"KICK",0,2) { syntax = "<channel> <nick>{,<nick>} [<reason>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_kill.h b/include/commands/cmd_kill.h
index 1dd048e5c..655c44257 100644
--- a/include/commands/cmd_kill.h
+++ b/include/commands/cmd_kill.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_kill : public Command
+class CommandKill : public Command
{
public:
/** Constructor for kill.
*/
- cmd_kill (InspIRCd* Instance) : Command(Instance,"KILL",'o',2,false,0) { syntax = "<nickname> <reason>"; }
+ CommandKill (InspIRCd* Instance) : Command(Instance,"KILL",'o',2,false,0) { syntax = "<nickname> <reason>"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_kline.h b/include/commands/cmd_kline.h
index f20399ab2..7648006e9 100644
--- a/include/commands/cmd_kline.h
+++ b/include/commands/cmd_kline.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_kline : public Command
+class CommandKline : public Command
{
public:
/** Constructor for kline.
*/
- cmd_kline (InspIRCd* Instance) : Command(Instance,"KLINE",'o',1,false,0) { syntax = "<ident@host> [<duration> :<reason>]"; }
+ CommandKline (InspIRCd* Instance) : Command(Instance,"KLINE",'o',1,false,0) { syntax = "<ident@host> [<duration> :<reason>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_links.h b/include/commands/cmd_links.h
index 6c5d521f1..8cbdf41e2 100644
--- a/include/commands/cmd_links.h
+++ b/include/commands/cmd_links.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_links : public Command
+class CommandLinks : public Command
{
public:
/** Constructor for links.
*/
- cmd_links (InspIRCd* Instance) : Command(Instance,"LINKS",0,0) { }
+ CommandLinks (InspIRCd* Instance) : Command(Instance,"LINKS",0,0) { }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_list.h b/include/commands/cmd_list.h
index c4033361a..5db212ee2 100644
--- a/include/commands/cmd_list.h
+++ b/include/commands/cmd_list.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_list : public Command
+class CommandList : public Command
{
public:
/** Constructor for list.
*/
- cmd_list (InspIRCd* Instance) : Command(Instance,"LIST", 0, 0, false, 5) { }
+ CommandList (InspIRCd* Instance) : Command(Instance,"LIST", 0, 0, false, 5) { }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_loadmodule.h b/include/commands/cmd_loadmodule.h
index 4e640b938..d9fc14670 100644
--- a/include/commands/cmd_loadmodule.h
+++ b/include/commands/cmd_loadmodule.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_loadmodule : public Command
+class CommandLoadmodule : public Command
{
public:
/** Constructor for loadmodule.
*/
- cmd_loadmodule (InspIRCd* Instance) : Command(Instance,"LOADMODULE",'o',1) { syntax = "<modulename>"; }
+ CommandLoadmodule (InspIRCd* Instance) : Command(Instance,"LOADMODULE",'o',1) { syntax = "<modulename>"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_lusers.h b/include/commands/cmd_lusers.h
index d4bebca18..b031db79a 100644
--- a/include/commands/cmd_lusers.h
+++ b/include/commands/cmd_lusers.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_lusers : public Command
+class CommandLusers : public Command
{
public:
/** Constructor for lusers.
*/
- cmd_lusers (InspIRCd* Instance) : Command(Instance,"LUSERS",0,0) { }
+ CommandLusers (InspIRCd* Instance) : Command(Instance,"LUSERS",0,0) { }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_map.h b/include/commands/cmd_map.h
index b80e0e8f8..159d9b8cd 100644
--- a/include/commands/cmd_map.h
+++ b/include/commands/cmd_map.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_map : public Command
+class CommandMap : public Command
{
public:
/** Constructor for map.
*/
- cmd_map (InspIRCd* Instance) : Command(Instance,"MAP",0,0,false,2) { }
+ CommandMap (InspIRCd* Instance) : Command(Instance,"MAP",0,0,false,2) { }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_mode.h b/include/commands/cmd_mode.h
index ddaeb69fb..f2d8c8954 100644
--- a/include/commands/cmd_mode.h
+++ b/include/commands/cmd_mode.h
@@ -23,12 +23,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_mode : public Command
+class CommandMode : public Command
{
public:
/** Constructor for mode.
*/
- cmd_mode (InspIRCd* Instance) : Command(Instance,"MODE",0,1) { syntax = "<target> <modes> {<mode-parameters>}"; }
+ CommandMode (InspIRCd* Instance) : Command(Instance,"MODE",0,1) { syntax = "<target> <modes> {<mode-parameters>}"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_modules.h b/include/commands/cmd_modules.h
index 5dd3fab2b..ee6560f46 100644
--- a/include/commands/cmd_modules.h
+++ b/include/commands/cmd_modules.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_modules : public Command
+class CommandModules : public Command
{
public:
/** Constructor for modules.
*/
- cmd_modules (InspIRCd* Instance) : Command(Instance,"MODULES",0,0) { syntax = "[debug]"; }
+ CommandModules (InspIRCd* Instance) : Command(Instance,"MODULES",0,0) { syntax = "[debug]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_motd.h b/include/commands/cmd_motd.h
index c79d22efb..df546ffb1 100644
--- a/include/commands/cmd_motd.h
+++ b/include/commands/cmd_motd.h
@@ -27,12 +27,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_motd : public Command
+class CommandMotd : public Command
{
public:
/** Constructor for motd.
*/
- cmd_motd (InspIRCd* Instance) : Command(Instance,"MOTD",0,0) { syntax = "[<servername>]"; }
+ CommandMotd (InspIRCd* Instance) : Command(Instance,"MOTD",0,0) { syntax = "[<servername>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_names.h b/include/commands/cmd_names.h
index 82c25f569..1e0c7f634 100644
--- a/include/commands/cmd_names.h
+++ b/include/commands/cmd_names.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_names : public Command
+class CommandNames : public Command
{
public:
/** Constructor for names.
*/
- cmd_names (InspIRCd* Instance) : Command(Instance,"NAMES",0,0) { syntax = "{<channel>{,<channel>}}"; }
+ CommandNames (InspIRCd* Instance) : Command(Instance,"NAMES",0,0) { syntax = "{<channel>{,<channel>}}"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_nick.h b/include/commands/cmd_nick.h
index eb5397c5f..41da049e4 100644
--- a/include/commands/cmd_nick.h
+++ b/include/commands/cmd_nick.h
@@ -24,13 +24,13 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_nick : public Command
+class CommandNick : public Command
{
bool allowinvalid;
public:
/** Constructor for nick.
*/
- cmd_nick (InspIRCd* Instance) : Command(Instance,"NICK", 0, 1, true, 3), allowinvalid(false) { syntax = "<newnick>"; }
+ CommandNick (InspIRCd* Instance) : Command(Instance,"NICK", 0, 1, true, 3), allowinvalid(false) { syntax = "<newnick>"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_notice.h b/include/commands/cmd_notice.h
index 377aa4aba..3ca2fdbdb 100644
--- a/include/commands/cmd_notice.h
+++ b/include/commands/cmd_notice.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_notice : public Command
+class CommandNotice : public Command
{
public:
/** Constructor for notice.
*/
- cmd_notice (InspIRCd* Instance) : Command(Instance,"NOTICE",0,2) { syntax = "<target>{,<target>} <message>"; }
+ CommandNotice (InspIRCd* Instance) : Command(Instance,"NOTICE",0,2) { syntax = "<target>{,<target>} <message>"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_oper.h b/include/commands/cmd_oper.h
index e6cf7c844..1d3c7f865 100644
--- a/include/commands/cmd_oper.h
+++ b/include/commands/cmd_oper.h
@@ -26,12 +26,12 @@ bool OneOfMatches(const char* host, const char* ip, const char* hostlist);
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_oper : public Command
+class CommandOper : public Command
{
public:
/** Constructor for oper.
*/
- cmd_oper (InspIRCd* Instance) : Command(Instance,"OPER",0,2,false,2) { syntax = "<username> <password>"; }
+ CommandOper (InspIRCd* Instance) : Command(Instance,"OPER",0,2,false,2) { syntax = "<username> <password>"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_part.h b/include/commands/cmd_part.h
index 626e4da1e..2107d4d6a 100644
--- a/include/commands/cmd_part.h
+++ b/include/commands/cmd_part.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_part : public Command
+class CommandPart : public Command
{
public:
/** Constructor for part.
*/
- cmd_part (InspIRCd* Instance) : Command(Instance,"PART", 0, 1, false, 5) { syntax = "<channel>{,<channel>} [<reason>]"; }
+ CommandPart (InspIRCd* Instance) : Command(Instance,"PART", 0, 1, false, 5) { syntax = "<channel>{,<channel>} [<reason>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_pass.h b/include/commands/cmd_pass.h
index ca667a36b..3499d0245 100644
--- a/include/commands/cmd_pass.h
+++ b/include/commands/cmd_pass.h
@@ -27,12 +27,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_pass : public Command
+class CommandPass : public Command
{
public:
/** Constructor for pass.
*/
- cmd_pass (InspIRCd* Instance) : Command(Instance,"PASS",0,1,true,0) { syntax = "<password>"; }
+ CommandPass (InspIRCd* Instance) : Command(Instance,"PASS",0,1,true,0) { syntax = "<password>"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_ping.h b/include/commands/cmd_ping.h
index 425004930..df8e1d91d 100644
--- a/include/commands/cmd_ping.h
+++ b/include/commands/cmd_ping.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_ping : public Command
+class CommandPing : public Command
{
public:
/** Constructor for ping.
*/
- cmd_ping (InspIRCd* Instance) : Command(Instance,"PING", 0, 1, false, 0) { syntax = "<servername> [:<servername>]"; }
+ CommandPing (InspIRCd* Instance) : Command(Instance,"PING", 0, 1, false, 0) { syntax = "<servername> [:<servername>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_pong.h b/include/commands/cmd_pong.h
index 37cbb13ac..2da0b78cc 100644
--- a/include/commands/cmd_pong.h
+++ b/include/commands/cmd_pong.h
@@ -25,12 +25,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_pong : public Command
+class CommandPong : public Command
{
public:
/** Constructor for pong.
*/
- cmd_pong (InspIRCd* Instance) : Command(Instance,"PONG", 0, 1, false, 0) { syntax = "<ping-text>"; }
+ CommandPong (InspIRCd* Instance) : Command(Instance,"PONG", 0, 1, false, 0) { syntax = "<ping-text>"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_privmsg.h b/include/commands/cmd_privmsg.h
index 12f1c0756..45af4f30d 100644
--- a/include/commands/cmd_privmsg.h
+++ b/include/commands/cmd_privmsg.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_privmsg : public Command
+class CommandPrivmsg : public Command
{
public:
/** Constructor for privmsg.
*/
- cmd_privmsg (InspIRCd* Instance) : Command(Instance,"PRIVMSG",0,2) { syntax = "<target>{,<target>} <message>"; }
+ CommandPrivmsg (InspIRCd* Instance) : Command(Instance,"PRIVMSG",0,2) { syntax = "<target>{,<target>} <message>"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_qline.h b/include/commands/cmd_qline.h
index 5c6b4f8fa..e7555a5a7 100644
--- a/include/commands/cmd_qline.h
+++ b/include/commands/cmd_qline.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_qline : public Command
+class CommandQline : public Command
{
public:
/** Constructor for qline.
*/
- cmd_qline (InspIRCd* Instance) : Command(Instance,"QLINE",'o',1,false,0) { syntax = "<nick> [<duration> :<reason>]"; }
+ CommandQline (InspIRCd* Instance) : Command(Instance,"QLINE",'o',1,false,0) { syntax = "<nick> [<duration> :<reason>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_quit.h b/include/commands/cmd_quit.h
index 23da5481c..c9ae8e37f 100644
--- a/include/commands/cmd_quit.h
+++ b/include/commands/cmd_quit.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_quit : public Command
+class CommandQuit : public Command
{
public:
/** Constructor for quit.
*/
- cmd_quit (InspIRCd* Instance) : Command(Instance,"QUIT",0,0,true) { syntax = "[<message>]"; }
+ CommandQuit (InspIRCd* Instance) : Command(Instance,"QUIT",0,0,true) { syntax = "[<message>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_rehash.h b/include/commands/cmd_rehash.h
index 003b8c32a..03389e1eb 100644
--- a/include/commands/cmd_rehash.h
+++ b/include/commands/cmd_rehash.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_rehash : public Command
+class CommandRehash : public Command
{
public:
/** Constructor for rehash.
*/
- cmd_rehash (InspIRCd* Instance) : Command(Instance,"REHASH",'o',0,false,3) { syntax = "[<servermask>]"; }
+ CommandRehash (InspIRCd* Instance) : Command(Instance,"REHASH",'o',0,false,3) { syntax = "[<servermask>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_reloadmodule.h b/include/commands/cmd_reloadmodule.h
index cdf053062..2aaf82091 100644
--- a/include/commands/cmd_reloadmodule.h
+++ b/include/commands/cmd_reloadmodule.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_reloadmodule : public Command
+class CommandReloadmodule : public Command
{
public:
/** Constructor for reloadmodule.
*/
- cmd_reloadmodule (InspIRCd* Instance) : Command(Instance,"RELOADMODULE",'o',1) { syntax = "<modulename>"; }
+ CommandReloadmodule (InspIRCd* Instance) : Command(Instance,"RELOADMODULE",'o',1) { syntax = "<modulename>"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_restart.h b/include/commands/cmd_restart.h
index 2a5c7eda4..8995c14bb 100644
--- a/include/commands/cmd_restart.h
+++ b/include/commands/cmd_restart.h
@@ -27,12 +27,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_restart : public Command
+class CommandRestart : public Command
{
public:
/** Constructor for restart.
*/
- cmd_restart (InspIRCd* Instance) : Command(Instance,"RESTART",'o',1,false,0) { syntax = "<password>"; }
+ CommandRestart (InspIRCd* Instance) : Command(Instance,"RESTART",'o',1,false,0) { syntax = "<password>"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_rules.h b/include/commands/cmd_rules.h
index adfab7e17..1158caf4b 100644
--- a/include/commands/cmd_rules.h
+++ b/include/commands/cmd_rules.h
@@ -27,12 +27,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_rules : public Command
+class CommandRules : public Command
{
public:
/** Constructor for rules.
*/
- cmd_rules (InspIRCd* Instance) : Command(Instance,"RULES",0,0) { syntax = "[<servername>]"; }
+ CommandRules (InspIRCd* Instance) : Command(Instance,"RULES",0,0) { syntax = "[<servername>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_server.h b/include/commands/cmd_server.h
index 2b25e406d..a82dea77d 100644
--- a/include/commands/cmd_server.h
+++ b/include/commands/cmd_server.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_server : public Command
+class CommandServer : public Command
{
public:
/** Constructor for server.
*/
- cmd_server (InspIRCd* Instance) : Command(Instance,"SERVER",0,0) { }
+ CommandServer (InspIRCd* Instance) : Command(Instance,"SERVER",0,0) { }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_squit.h b/include/commands/cmd_squit.h
index f1270ef4c..95183328d 100644
--- a/include/commands/cmd_squit.h
+++ b/include/commands/cmd_squit.h
@@ -27,12 +27,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_squit : public Command
+class CommandSquit : public Command
{
public:
/** Constructor for squit.
*/
- cmd_squit (InspIRCd* Instance) : Command(Instance,"SQUIT",'o',1) { syntax = "<servername> [<reason>]"; }
+ CommandSquit (InspIRCd* Instance) : Command(Instance,"SQUIT",'o',1) { syntax = "<servername> [<reason>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_stats.h b/include/commands/cmd_stats.h
index 69e151135..7306793bd 100644
--- a/include/commands/cmd_stats.h
+++ b/include/commands/cmd_stats.h
@@ -27,12 +27,12 @@ DllExport void DoStats(InspIRCd* Instance, char statschar, User* user, string_li
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_stats : public Command
+class CommandStats : public Command
{
public:
/** Constructor for stats.
*/
- cmd_stats (InspIRCd* Instance) : Command(Instance,"STATS",0,1) { syntax = "<stats-symbol> [<servername>]"; }
+ CommandStats (InspIRCd* Instance) : Command(Instance,"STATS",0,1) { syntax = "<stats-symbol> [<servername>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_time.h b/include/commands/cmd_time.h
index b6d353c89..a26235a65 100644
--- a/include/commands/cmd_time.h
+++ b/include/commands/cmd_time.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_time : public Command
+class CommandTime : public Command
{
public:
/** Constructor for time.
*/
- cmd_time (InspIRCd* Instance) : Command(Instance,"TIME",0,0) { syntax = "[<servername>]"; }
+ CommandTime (InspIRCd* Instance) : Command(Instance,"TIME",0,0) { syntax = "[<servername>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_topic.h b/include/commands/cmd_topic.h
index 7c265e85f..bba1d42f4 100644
--- a/include/commands/cmd_topic.h
+++ b/include/commands/cmd_topic.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_topic : public Command
+class CommandTopic : public Command
{
public:
/** Constructor for topic.
*/
- cmd_topic (InspIRCd* Instance) : Command(Instance,"TOPIC",0,1,false,2) { syntax = "<channel> [<topic>]"; }
+ CommandTopic (InspIRCd* Instance) : Command(Instance,"TOPIC",0,1,false,2) { syntax = "<channel> [<topic>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_trace.h b/include/commands/cmd_trace.h
index 1f551f1eb..656178ada 100644
--- a/include/commands/cmd_trace.h
+++ b/include/commands/cmd_trace.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_trace : public Command
+class CommandTrace : public Command
{
public:
/** Constructor for trace.
*/
- cmd_trace (InspIRCd* Instance) : Command(Instance,"TRACE",'o',0) { syntax = "[<object>]"; }
+ CommandTrace (InspIRCd* Instance) : Command(Instance,"TRACE",'o',0) { syntax = "[<object>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_unloadmodule.h b/include/commands/cmd_unloadmodule.h
index 2afd84168..9b5bfbf84 100644
--- a/include/commands/cmd_unloadmodule.h
+++ b/include/commands/cmd_unloadmodule.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_unloadmodule : public Command
+class CommandUnloadmodule : public Command
{
public:
/** Constructor for unloadmodule.
*/
- cmd_unloadmodule (InspIRCd* Instance) : Command(Instance,"UNLOADMODULE",'o',1) { syntax = "<modulename>"; }
+ CommandUnloadmodule (InspIRCd* Instance) : Command(Instance,"UNLOADMODULE",'o',1) { syntax = "<modulename>"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_user.h b/include/commands/cmd_user.h
index ce9b497a4..c7a60d1fa 100644
--- a/include/commands/cmd_user.h
+++ b/include/commands/cmd_user.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_user : public Command
+class CommandUser : public Command
{
public:
/** Constructor for user.
*/
- cmd_user (InspIRCd* Instance) : Command(Instance,"USER",0,4,true,0) { syntax = "<username> <localhost> <remotehost> <GECOS>"; }
+ CommandUser (InspIRCd* Instance) : Command(Instance,"USER",0,4,true,0) { syntax = "<username> <localhost> <remotehost> <GECOS>"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_userhost.h b/include/commands/cmd_userhost.h
index 65b358e47..09bd62d23 100644
--- a/include/commands/cmd_userhost.h
+++ b/include/commands/cmd_userhost.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_userhost : public Command
+class CommandUserhost : public Command
{
public:
/** Constructor for userhost.
*/
- cmd_userhost (InspIRCd* Instance) : Command(Instance,"USERHOST",0,1) { syntax = "<nick>{,<nick>}"; }
+ CommandUserhost (InspIRCd* Instance) : Command(Instance,"USERHOST",0,1) { syntax = "<nick>{,<nick>}"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_version.h b/include/commands/cmd_version.h
index a70e033df..f26dac5b8 100644
--- a/include/commands/cmd_version.h
+++ b/include/commands/cmd_version.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_version : public Command
+class CommandVersion : public Command
{
public:
/** Constructor for version.
*/
- cmd_version (InspIRCd* Instance) : Command(Instance,"VERSION",0,0) { syntax = "[<servername>]"; }
+ CommandVersion (InspIRCd* Instance) : Command(Instance,"VERSION",0,0) { syntax = "[<servername>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_wallops.h b/include/commands/cmd_wallops.h
index c4ab9973f..fde696247 100644
--- a/include/commands/cmd_wallops.h
+++ b/include/commands/cmd_wallops.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_wallops : public Command
+class CommandWallops : public Command
{
public:
/** Constructor for wallops.
*/
- cmd_wallops (InspIRCd* Instance) : Command(Instance,"WALLOPS",'o',1) { syntax = "<any-text>"; }
+ CommandWallops (InspIRCd* Instance) : Command(Instance,"WALLOPS",'o',1) { syntax = "<any-text>"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_who.h b/include/commands/cmd_who.h
index e0f6f61c6..215972f94 100644
--- a/include/commands/cmd_who.h
+++ b/include/commands/cmd_who.h
@@ -24,7 +24,7 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_who : public Command
+class CommandWho : public Command
{
bool CanView(Channel* chan, User* user);
bool opt_viewopersonly;
@@ -41,7 +41,7 @@ class cmd_who : public Command
public:
/** Constructor for who.
*/
- cmd_who (InspIRCd* Instance) : Command(Instance,"WHO", 0, 1, false, 2) { syntax = "<server>|<nickname>|<channel>|<realname>|<host>|0 [ohurmMiaplf]"; }
+ CommandWho (InspIRCd* Instance) : Command(Instance,"WHO", 0, 1, false, 2) { syntax = "<server>|<nickname>|<channel>|<realname>|<host>|0 [ohurmMiaplf]"; }
void SendWhoLine(User* user, const std::string &initial, Channel* ch, User* u, std::vector<std::string> &whoresults);
/** Handle command.
* @param parameters The parameters to the comamnd
diff --git a/include/commands/cmd_whois.h b/include/commands/cmd_whois.h
index bf105c020..c7dd9a947 100644
--- a/include/commands/cmd_whois.h
+++ b/include/commands/cmd_whois.h
@@ -27,12 +27,12 @@ DllExport void do_whois(InspIRCd* Instance, User* user, User* dest,unsigned long
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_whois : public Command
+class CommandWhois : public Command
{
public:
/** Constructor for whois.
*/
- cmd_whois (InspIRCd* Instance) : Command(Instance,"WHOIS",0,1,false,2) { syntax = "<nick>{,<nick>}"; }
+ CommandWhois (InspIRCd* Instance) : Command(Instance,"WHOIS",0,1,false,2) { syntax = "<nick>{,<nick>}"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
diff --git a/include/commands/cmd_whowas.h b/include/commands/cmd_whowas.h
index 4df20e579..a53677e85 100644
--- a/include/commands/cmd_whowas.h
+++ b/include/commands/cmd_whowas.h
@@ -56,7 +56,7 @@ typedef std::deque<std::pair<time_t,irc::string> > whowas_users_fifo;
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_whowas : public Command
+class CommandWhowas : public Command
{
private:
/** Whowas container, contains a map of vectors of users tracked by WHOWAS
@@ -72,7 +72,7 @@ class cmd_whowas : public Command
std::string stats;
public:
- cmd_whowas(InspIRCd* Instance);
+ CommandWhowas(InspIRCd* Instance);
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command
@@ -92,7 +92,7 @@ class cmd_whowas : public Command
void GetStats(Extensible* ext);
void PruneWhoWas(time_t t);
void MaintainWhoWas(time_t t);
- virtual ~cmd_whowas();
+ virtual ~CommandWhowas();
};
/** Used to hold WHOWAS information
diff --git a/include/commands/cmd_zline.h b/include/commands/cmd_zline.h
index b606ea132..482d79478 100644
--- a/include/commands/cmd_zline.h
+++ b/include/commands/cmd_zline.h
@@ -24,12 +24,12 @@
* the same way, however, they can be fully unloaded, where these
* may not.
*/
-class cmd_zline : public Command
+class CommandZline : public Command
{
public:
/** Constructor for zline.
*/
- cmd_zline (InspIRCd* Instance) : Command(Instance,"ZLINE",'o',1,false,0) { syntax = "<ipmask> [<duration> :<reason>]"; }
+ CommandZline (InspIRCd* Instance) : Command(Instance,"ZLINE",'o',1,false,0) { syntax = "<ipmask> [<duration> :<reason>]"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command