summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 18:23:25 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-06-17 18:23:25 +0000
commit814047662b5cd1a3fa48ba3e08b76cbaf3f1deba (patch)
tree02cf62b0a7c7075f37398ad6276beed7daa167ce
parent7fc5d102dba6adf56f13a2ee390f1cf43f6a1a07 (diff)
More comments
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7375 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r--include/commands/cmd_admin.h2
-rw-r--r--include/commands/cmd_away.h2
-rw-r--r--include/commands/cmd_clearcache.h2
-rw-r--r--include/commands/cmd_commands.h2
-rw-r--r--include/commands/cmd_connect.h2
-rw-r--r--include/commands/cmd_die.h2
-rw-r--r--include/commands/cmd_eline.h2
-rw-r--r--include/commands/cmd_gline.h2
-rw-r--r--include/commands/cmd_info.h2
-rw-r--r--include/commands/cmd_invite.h2
-rw-r--r--include/commands/cmd_ison.h2
-rw-r--r--include/commands/cmd_join.h2
-rw-r--r--include/commands/cmd_kick.h2
-rw-r--r--include/commands/cmd_kill.h2
-rw-r--r--include/commands/cmd_kline.h2
-rw-r--r--include/commands/cmd_links.h2
-rw-r--r--include/commands/cmd_list.h2
-rw-r--r--include/commands/cmd_loadmodule.h2
-rw-r--r--include/commands/cmd_lusers.h2
-rw-r--r--include/commands/cmd_map.h2
-rw-r--r--include/commands/cmd_mode.h2
-rw-r--r--include/commands/cmd_modules.h2
-rw-r--r--include/commands/cmd_motd.h2
-rw-r--r--include/commands/cmd_names.h2
-rw-r--r--include/commands/cmd_nick.h2
-rw-r--r--include/commands/cmd_notice.h2
-rw-r--r--include/commands/cmd_oper.h2
-rw-r--r--include/commands/cmd_part.h2
-rw-r--r--include/commands/cmd_pass.h2
-rw-r--r--include/commands/cmd_ping.h2
-rw-r--r--include/commands/cmd_pong.h2
-rw-r--r--include/commands/cmd_privmsg.h2
-rw-r--r--include/commands/cmd_qline.h2
-rw-r--r--include/commands/cmd_quit.h2
-rw-r--r--include/commands/cmd_rehash.h2
-rw-r--r--include/commands/cmd_reloadmodule.h2
-rw-r--r--include/commands/cmd_restart.h2
-rw-r--r--include/commands/cmd_rules.h2
-rw-r--r--include/commands/cmd_server.h2
-rw-r--r--include/commands/cmd_squit.h2
-rw-r--r--include/commands/cmd_stats.h2
-rw-r--r--include/commands/cmd_summon.h2
-rw-r--r--include/commands/cmd_time.h2
-rw-r--r--include/commands/cmd_topic.h2
-rw-r--r--include/commands/cmd_trace.h2
-rw-r--r--include/commands/cmd_unloadmodule.h2
-rw-r--r--include/commands/cmd_user.h2
-rw-r--r--include/commands/cmd_userhost.h2
-rw-r--r--include/commands/cmd_users.h2
-rw-r--r--include/commands/cmd_version.h2
-rw-r--r--include/commands/cmd_wallops.h2
-rw-r--r--include/commands/cmd_who.h2
-rw-r--r--include/commands/cmd_whois.h2
-rw-r--r--include/commands/cmd_zline.h2
54 files changed, 108 insertions, 0 deletions
diff --git a/include/commands/cmd_admin.h b/include/commands/cmd_admin.h
index 3a8b2c68c..502140f17 100644
--- a/include/commands/cmd_admin.h
+++ b/include/commands/cmd_admin.h
@@ -29,6 +29,8 @@
class cmd_admin : public command_t
{
public:
+ /** Constructor for admin.
+ */
cmd_admin (InspIRCd* Instance) : command_t(Instance,"ADMIN",0,0) { syntax = "[<servername>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_away.h b/include/commands/cmd_away.h
index 2063593c1..3c138dd1d 100644
--- a/include/commands/cmd_away.h
+++ b/include/commands/cmd_away.h
@@ -30,6 +30,8 @@
class cmd_away : public command_t
{
public:
+ /** Constructor for away.
+ */
cmd_away (InspIRCd* Instance) : command_t(Instance,"AWAY",0,0) { syntax = "[<message>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_clearcache.h b/include/commands/cmd_clearcache.h
index 750e0ea86..8a6f8c1e5 100644
--- a/include/commands/cmd_clearcache.h
+++ b/include/commands/cmd_clearcache.h
@@ -29,6 +29,8 @@
class cmd_clearcache : public command_t
{
public:
+ /** Constructor for clearcache.
+ */
cmd_clearcache (InspIRCd* Instance) : command_t(Instance,"CLEARCACHE",'o',0) { }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_commands.h b/include/commands/cmd_commands.h
index defdeeafc..12f500fbe 100644
--- a/include/commands/cmd_commands.h
+++ b/include/commands/cmd_commands.h
@@ -30,6 +30,8 @@
class cmd_commands : public command_t
{
public:
+ /** Constructor for commands.
+ */
cmd_commands (InspIRCd* Instance) : command_t(Instance,"COMMANDS",0,0) { }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_connect.h b/include/commands/cmd_connect.h
index 113d25962..1fe97809c 100644
--- a/include/commands/cmd_connect.h
+++ b/include/commands/cmd_connect.h
@@ -30,6 +30,8 @@
class cmd_connect : public command_t
{
public:
+ /** Constructor for connect.
+ */
cmd_connect (InspIRCd* Instance) : command_t(Instance,"CONNECT",'o',1) { syntax = "<servername> [<remote-server>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_die.h b/include/commands/cmd_die.h
index 0db044944..8232bffdb 100644
--- a/include/commands/cmd_die.h
+++ b/include/commands/cmd_die.h
@@ -30,6 +30,8 @@
class cmd_die : public command_t
{
public:
+ /** Constructor for die.
+ */
cmd_die (InspIRCd* Instance) : command_t(Instance,"DIE",'o',1) { syntax = "<password>"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_eline.h b/include/commands/cmd_eline.h
index 749816ea0..379915a90 100644
--- a/include/commands/cmd_eline.h
+++ b/include/commands/cmd_eline.h
@@ -30,6 +30,8 @@
class cmd_eline : public command_t
{
public:
+ /** Constructor for eline.
+ */
cmd_eline (InspIRCd* Instance) : command_t(Instance,"ELINE",'o',1) { syntax = "<ident@host> [<duration> :<reason>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_gline.h b/include/commands/cmd_gline.h
index f4c0f4035..f584488ad 100644
--- a/include/commands/cmd_gline.h
+++ b/include/commands/cmd_gline.h
@@ -30,6 +30,8 @@
class cmd_gline : public command_t
{
public:
+ /** Constructor for gline.
+ */
cmd_gline (InspIRCd* Instance) : command_t(Instance,"GLINE",'o',1) { syntax = "<ident@host> [<duration> :<reason>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_info.h b/include/commands/cmd_info.h
index b7bce15cf..912e56f2d 100644
--- a/include/commands/cmd_info.h
+++ b/include/commands/cmd_info.h
@@ -30,6 +30,8 @@
class cmd_info : public command_t
{
public:
+ /** Constructor for info.
+ */
cmd_info (InspIRCd* Instance) : command_t(Instance,"INFO",0,0) { syntax = "[<servermask>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_invite.h b/include/commands/cmd_invite.h
index 74848915f..c7e0dea09 100644
--- a/include/commands/cmd_invite.h
+++ b/include/commands/cmd_invite.h
@@ -30,6 +30,8 @@
class cmd_invite : public command_t
{
public:
+ /** Constructor for invite.
+ */
cmd_invite (InspIRCd* Instance) : command_t(Instance,"INVITE",0,0) { syntax = "[<nick> <channel>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_ison.h b/include/commands/cmd_ison.h
index 52624b2c2..6980d37e0 100644
--- a/include/commands/cmd_ison.h
+++ b/include/commands/cmd_ison.h
@@ -30,6 +30,8 @@
class cmd_ison : public command_t
{
public:
+ /** Constructor for ison.
+ */
cmd_ison (InspIRCd* Instance) : command_t(Instance,"ISON",0,0) { syntax = "<nick> {nick}"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_join.h b/include/commands/cmd_join.h
index eb17034b0..ea66ecd5a 100644
--- a/include/commands/cmd_join.h
+++ b/include/commands/cmd_join.h
@@ -30,6 +30,8 @@
class cmd_join : public command_t
{
public:
+ /** Constructor for join.
+ */
cmd_join (InspIRCd* Instance) : command_t(Instance,"JOIN",0,1) { syntax = "<channel>{,<channel>} {<key>{,<key>}}"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_kick.h b/include/commands/cmd_kick.h
index 6cb2148a5..1b760c85e 100644
--- a/include/commands/cmd_kick.h
+++ b/include/commands/cmd_kick.h
@@ -30,6 +30,8 @@
class cmd_kick : public command_t
{
public:
+ /** Constructor for kick.
+ */
cmd_kick (InspIRCd* Instance) : command_t(Instance,"KICK",0,2) { syntax = "<channel> <nick>{,<nick>} [<reason>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_kill.h b/include/commands/cmd_kill.h
index dbec15e6e..ae23b3974 100644
--- a/include/commands/cmd_kill.h
+++ b/include/commands/cmd_kill.h
@@ -30,6 +30,8 @@
class cmd_kill : public command_t
{
public:
+ /** Constructor for kill.
+ */
cmd_kill (InspIRCd* Instance) : command_t(Instance,"KILL",'o',2) { syntax = "<nickname> <reason>"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_kline.h b/include/commands/cmd_kline.h
index 29e7d8395..e68aa310a 100644
--- a/include/commands/cmd_kline.h
+++ b/include/commands/cmd_kline.h
@@ -30,6 +30,8 @@
class cmd_kline : public command_t
{
public:
+ /** Constructor for kline.
+ */
cmd_kline (InspIRCd* Instance) : command_t(Instance,"KLINE",'o',1) { syntax = "<ident@host> [<duration> :<reason>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_links.h b/include/commands/cmd_links.h
index bcf04ab0a..8b06199f8 100644
--- a/include/commands/cmd_links.h
+++ b/include/commands/cmd_links.h
@@ -30,6 +30,8 @@
class cmd_links : public command_t
{
public:
+ /** Constructor for links.
+ */
cmd_links (InspIRCd* Instance) : command_t(Instance,"LINKS",0,0) { }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_list.h b/include/commands/cmd_list.h
index 1016db1b4..1aac0cddc 100644
--- a/include/commands/cmd_list.h
+++ b/include/commands/cmd_list.h
@@ -30,6 +30,8 @@
class cmd_list : public command_t
{
public:
+ /** Constructor for list.
+ */
cmd_list (InspIRCd* Instance) : command_t(Instance,"LIST",0,0) { }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_loadmodule.h b/include/commands/cmd_loadmodule.h
index ced357844..6e8505cd8 100644
--- a/include/commands/cmd_loadmodule.h
+++ b/include/commands/cmd_loadmodule.h
@@ -30,6 +30,8 @@
class cmd_loadmodule : public command_t
{
public:
+ /** Constructor for loadmodule.
+ */
cmd_loadmodule (InspIRCd* Instance) : command_t(Instance,"LOADMODULE",'o',1) { syntax = "<modulename>"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_lusers.h b/include/commands/cmd_lusers.h
index 38e309a8f..ebf2db852 100644
--- a/include/commands/cmd_lusers.h
+++ b/include/commands/cmd_lusers.h
@@ -30,6 +30,8 @@
class cmd_lusers : public command_t
{
public:
+ /** Constructor for lusers.
+ */
cmd_lusers (InspIRCd* Instance) : command_t(Instance,"LUSERS",0,0) { }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_map.h b/include/commands/cmd_map.h
index 2514a026b..55a899c84 100644
--- a/include/commands/cmd_map.h
+++ b/include/commands/cmd_map.h
@@ -30,6 +30,8 @@
class cmd_map : public command_t
{
public:
+ /** Constructor for map.
+ */
cmd_map (InspIRCd* Instance) : command_t(Instance,"MAP",0,0) { }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_mode.h b/include/commands/cmd_mode.h
index 90655d871..bdd7f96f3 100644
--- a/include/commands/cmd_mode.h
+++ b/include/commands/cmd_mode.h
@@ -29,6 +29,8 @@
class cmd_mode : public command_t
{
public:
+ /** Constructor for mode.
+ */
cmd_mode (InspIRCd* Instance) : command_t(Instance,"MODE",0,1) { syntax = "<target> <modes> {<mode-parameters>}"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_modules.h b/include/commands/cmd_modules.h
index a4945810e..1cdc0fb81 100644
--- a/include/commands/cmd_modules.h
+++ b/include/commands/cmd_modules.h
@@ -30,6 +30,8 @@
class cmd_modules : public command_t
{
public:
+ /** Constructor for modules.
+ */
cmd_modules (InspIRCd* Instance) : command_t(Instance,"MODULES",0,0) { syntax = "[debug]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_motd.h b/include/commands/cmd_motd.h
index 05b5b3b85..beb31bef3 100644
--- a/include/commands/cmd_motd.h
+++ b/include/commands/cmd_motd.h
@@ -33,6 +33,8 @@
class cmd_motd : public command_t
{
public:
+ /** Constructor for motd.
+ */
cmd_motd (InspIRCd* Instance) : command_t(Instance,"MOTD",0,0) { syntax = "[<servername>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_names.h b/include/commands/cmd_names.h
index 7b898923b..265dd2905 100644
--- a/include/commands/cmd_names.h
+++ b/include/commands/cmd_names.h
@@ -30,6 +30,8 @@
class cmd_names : public command_t
{
public:
+ /** Constructor for names.
+ */
cmd_names (InspIRCd* Instance) : command_t(Instance,"NAMES",0,0) { syntax = "{<channel>{,<channel>}}"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_nick.h b/include/commands/cmd_nick.h
index a1e1513f2..73fac8ab4 100644
--- a/include/commands/cmd_nick.h
+++ b/include/commands/cmd_nick.h
@@ -30,6 +30,8 @@
class cmd_nick : public command_t
{
public:
+ /** Constructor for nick.
+ */
cmd_nick (InspIRCd* Instance) : command_t(Instance,"NICK",0,1,true) { syntax = "<newnick>"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_notice.h b/include/commands/cmd_notice.h
index 72fd070fb..df99d2dcc 100644
--- a/include/commands/cmd_notice.h
+++ b/include/commands/cmd_notice.h
@@ -30,6 +30,8 @@
class cmd_notice : public command_t
{
public:
+ /** Constructor for notice.
+ */
cmd_notice (InspIRCd* Instance) : command_t(Instance,"NOTICE",0,2) { syntax = "<target>{,<target>} <message>"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_oper.h b/include/commands/cmd_oper.h
index 405019fbc..2856ea98f 100644
--- a/include/commands/cmd_oper.h
+++ b/include/commands/cmd_oper.h
@@ -32,6 +32,8 @@ bool OneOfMatches(const char* host, const char* ip, const char* hostlist);
class cmd_oper : public command_t
{
public:
+ /** Constructor for oper.
+ */
cmd_oper (InspIRCd* Instance) : command_t(Instance,"OPER",0,2) { syntax = "<username> <password>"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_part.h b/include/commands/cmd_part.h
index 442d90503..e513e5ad8 100644
--- a/include/commands/cmd_part.h
+++ b/include/commands/cmd_part.h
@@ -30,6 +30,8 @@
class cmd_part : public command_t
{
public:
+ /** Constructor for part.
+ */
cmd_part (InspIRCd* Instance) : command_t(Instance,"PART",0,1) { syntax = "<channel>{,<channel>} [<reason>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_pass.h b/include/commands/cmd_pass.h
index 53900685b..35fa7401e 100644
--- a/include/commands/cmd_pass.h
+++ b/include/commands/cmd_pass.h
@@ -33,6 +33,8 @@
class cmd_pass : public command_t
{
public:
+ /** Constructor for pass.
+ */
cmd_pass (InspIRCd* Instance) : command_t(Instance,"PASS",0,1,true) { syntax = "<password>"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_ping.h b/include/commands/cmd_ping.h
index 7b22c35bb..e73b35a29 100644
--- a/include/commands/cmd_ping.h
+++ b/include/commands/cmd_ping.h
@@ -30,6 +30,8 @@
class cmd_ping : public command_t
{
public:
+ /** Constructor for ping.
+ */
cmd_ping (InspIRCd* Instance) : command_t(Instance,"PING",0,1) { syntax = "<servername> [:<servername>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_pong.h b/include/commands/cmd_pong.h
index 6f0a2c7d2..1e5d09885 100644
--- a/include/commands/cmd_pong.h
+++ b/include/commands/cmd_pong.h
@@ -31,6 +31,8 @@
class cmd_pong : public command_t
{
public:
+ /** Constructor for pong.
+ */
cmd_pong (InspIRCd* Instance) : command_t(Instance,"PONG",0,1) { syntax = "<ping-text>"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_privmsg.h b/include/commands/cmd_privmsg.h
index 2d720cf7f..7c2b44c28 100644
--- a/include/commands/cmd_privmsg.h
+++ b/include/commands/cmd_privmsg.h
@@ -30,6 +30,8 @@
class cmd_privmsg : public command_t
{
public:
+ /** Constructor for privmsg.
+ */
cmd_privmsg (InspIRCd* Instance) : command_t(Instance,"PRIVMSG",0,2) { syntax = "<target>{,<target>} <message>"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_qline.h b/include/commands/cmd_qline.h
index 7f7e0924a..6b84b7a56 100644
--- a/include/commands/cmd_qline.h
+++ b/include/commands/cmd_qline.h
@@ -30,6 +30,8 @@
class cmd_qline : public command_t
{
public:
+ /** Constructor for qline.
+ */
cmd_qline (InspIRCd* Instance) : command_t(Instance,"QLINE",'o',1) { syntax = "<nick> [<duration> :<reason>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_quit.h b/include/commands/cmd_quit.h
index ba8a165f1..18af99fc0 100644
--- a/include/commands/cmd_quit.h
+++ b/include/commands/cmd_quit.h
@@ -30,6 +30,8 @@
class cmd_quit : public command_t
{
public:
+ /** Constructor for quit.
+ */
cmd_quit (InspIRCd* Instance) : command_t(Instance,"QUIT",0,0,true) { syntax = "[<message>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_rehash.h b/include/commands/cmd_rehash.h
index 85b09649a..edb101dfa 100644
--- a/include/commands/cmd_rehash.h
+++ b/include/commands/cmd_rehash.h
@@ -30,6 +30,8 @@
class cmd_rehash : public command_t
{
public:
+ /** Constructor for rehash.
+ */
cmd_rehash (InspIRCd* Instance) : command_t(Instance,"REHASH",'o',0) { syntax = "[<servermask>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_reloadmodule.h b/include/commands/cmd_reloadmodule.h
index 9825d853a..56e60b96d 100644
--- a/include/commands/cmd_reloadmodule.h
+++ b/include/commands/cmd_reloadmodule.h
@@ -30,6 +30,8 @@
class cmd_reloadmodule : public command_t
{
public:
+ /** Constructor for reloadmodule.
+ */
cmd_reloadmodule (InspIRCd* Instance) : command_t(Instance,"RELOADMODULE",'o',1) { syntax = "<modulename>"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_restart.h b/include/commands/cmd_restart.h
index 704d2822c..46a2e606e 100644
--- a/include/commands/cmd_restart.h
+++ b/include/commands/cmd_restart.h
@@ -33,6 +33,8 @@
class cmd_restart : public command_t
{
public:
+ /** Constructor for restart.
+ */
cmd_restart (InspIRCd* Instance) : command_t(Instance,"RESTART",'o',1) { syntax = "<password>"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_rules.h b/include/commands/cmd_rules.h
index 333f39711..ef0514d3a 100644
--- a/include/commands/cmd_rules.h
+++ b/include/commands/cmd_rules.h
@@ -33,6 +33,8 @@
class cmd_rules : public command_t
{
public:
+ /** Constructor for rules.
+ */
cmd_rules (InspIRCd* Instance) : command_t(Instance,"RULES",0,0) { syntax = "[<servername>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_server.h b/include/commands/cmd_server.h
index 01b1f0810..5d72f35f9 100644
--- a/include/commands/cmd_server.h
+++ b/include/commands/cmd_server.h
@@ -30,6 +30,8 @@
class cmd_server : public command_t
{
public:
+ /** Constructor for server.
+ */
cmd_server (InspIRCd* Instance) : command_t(Instance,"SERVER",0,0) { }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_squit.h b/include/commands/cmd_squit.h
index 299b37558..082ffff6f 100644
--- a/include/commands/cmd_squit.h
+++ b/include/commands/cmd_squit.h
@@ -33,6 +33,8 @@
class cmd_squit : public command_t
{
public:
+ /** Constructor for squit.
+ */
cmd_squit (InspIRCd* Instance) : command_t(Instance,"SQUIT",'o',1) { syntax = "<servername> [<reason>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_stats.h b/include/commands/cmd_stats.h
index 6d4082a5a..33232d450 100644
--- a/include/commands/cmd_stats.h
+++ b/include/commands/cmd_stats.h
@@ -33,6 +33,8 @@ DllExport void DoStats(InspIRCd* Instance, char statschar, userrec* user, string
class cmd_stats : public command_t
{
public:
+ /** Constructor for stats.
+ */
cmd_stats (InspIRCd* Instance) : command_t(Instance,"STATS",0,1) { syntax = "<stats-symbol> [<servername>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_summon.h b/include/commands/cmd_summon.h
index d973df556..608bfe64c 100644
--- a/include/commands/cmd_summon.h
+++ b/include/commands/cmd_summon.h
@@ -33,6 +33,8 @@
class cmd_summon : public command_t
{
public:
+ /** Constructor for summon.
+ */
cmd_summon (InspIRCd* Instance) : command_t(Instance,"SUMMON",0,0) { }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_time.h b/include/commands/cmd_time.h
index e54f7d2c4..2cf29c8bc 100644
--- a/include/commands/cmd_time.h
+++ b/include/commands/cmd_time.h
@@ -30,6 +30,8 @@
class cmd_time : public command_t
{
public:
+ /** Constructor for time.
+ */
cmd_time (InspIRCd* Instance) : command_t(Instance,"TIME",0,0) { syntax = "[<servername>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_topic.h b/include/commands/cmd_topic.h
index 009b2e2d7..ee444f2a8 100644
--- a/include/commands/cmd_topic.h
+++ b/include/commands/cmd_topic.h
@@ -30,6 +30,8 @@
class cmd_topic : public command_t
{
public:
+ /** Constructor for topic.
+ */
cmd_topic (InspIRCd* Instance) : command_t(Instance,"TOPIC",0,1) { syntax = "<channel> [<topic>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_trace.h b/include/commands/cmd_trace.h
index 33a9114e6..de7867264 100644
--- a/include/commands/cmd_trace.h
+++ b/include/commands/cmd_trace.h
@@ -30,6 +30,8 @@
class cmd_trace : public command_t
{
public:
+ /** Constructor for trace.
+ */
cmd_trace (InspIRCd* Instance) : command_t(Instance,"TRACE",'o',0) { syntax = "[<object>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_unloadmodule.h b/include/commands/cmd_unloadmodule.h
index 457d25853..6f0a64a15 100644
--- a/include/commands/cmd_unloadmodule.h
+++ b/include/commands/cmd_unloadmodule.h
@@ -30,6 +30,8 @@
class cmd_unloadmodule : public command_t
{
public:
+ /** Constructor for unloadmodule.
+ */
cmd_unloadmodule (InspIRCd* Instance) : command_t(Instance,"UNLOADMODULE",'o',1) { syntax = "<modulename>"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_user.h b/include/commands/cmd_user.h
index b416225d5..1678e0af2 100644
--- a/include/commands/cmd_user.h
+++ b/include/commands/cmd_user.h
@@ -30,6 +30,8 @@
class cmd_user : public command_t
{
public:
+ /** Constructor for user.
+ */
cmd_user (InspIRCd* Instance) : command_t(Instance,"USER",0,4,true) { syntax = "<username> <localhost> <remotehost> <GECOS>"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_userhost.h b/include/commands/cmd_userhost.h
index 980a464b8..3f3562ff3 100644
--- a/include/commands/cmd_userhost.h
+++ b/include/commands/cmd_userhost.h
@@ -30,6 +30,8 @@
class cmd_userhost : public command_t
{
public:
+ /** Constructor for userhost.
+ */
cmd_userhost (InspIRCd* Instance) : command_t(Instance,"USERHOST",0,1) { syntax = "<nick>{,<nick>}"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_users.h b/include/commands/cmd_users.h
index 4bcd27017..4bc383a00 100644
--- a/include/commands/cmd_users.h
+++ b/include/commands/cmd_users.h
@@ -33,6 +33,8 @@
class cmd_users : public command_t
{
public:
+ /** Constructor for users.
+ */
cmd_users (InspIRCd* Instance) : command_t(Instance,"USERS",0,0) { }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_version.h b/include/commands/cmd_version.h
index 82f8cb5a4..2f61954cb 100644
--- a/include/commands/cmd_version.h
+++ b/include/commands/cmd_version.h
@@ -30,6 +30,8 @@
class cmd_version : public command_t
{
public:
+ /** Constructor for version.
+ */
cmd_version (InspIRCd* Instance) : command_t(Instance,"VERSION",0,0) { syntax = "[<servername>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_wallops.h b/include/commands/cmd_wallops.h
index f5344e1df..3bdb1742c 100644
--- a/include/commands/cmd_wallops.h
+++ b/include/commands/cmd_wallops.h
@@ -30,6 +30,8 @@
class cmd_wallops : public command_t
{
public:
+ /** Constructor for wallops.
+ */
cmd_wallops (InspIRCd* Instance) : command_t(Instance,"WALLOPS",'o',1) { syntax = "<any-text>"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_who.h b/include/commands/cmd_who.h
index 3d4807b3b..625fdd199 100644
--- a/include/commands/cmd_who.h
+++ b/include/commands/cmd_who.h
@@ -42,6 +42,8 @@ class cmd_who : public command_t
bool opt_local;
bool opt_far;
public:
+ /** Constructor for who.
+ */
cmd_who (InspIRCd* Instance) : command_t(Instance,"WHO",0,1) { syntax = "<server>|<nickname>|<channel>|<realname>|<host>|0 [ohurmMiaplf]"; }
void SendWhoLine(userrec* user, const std::string &initial, chanrec* ch, userrec* u, std::vector<std::string> &whoresults);
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
diff --git a/include/commands/cmd_whois.h b/include/commands/cmd_whois.h
index f929728b3..db78ec43d 100644
--- a/include/commands/cmd_whois.h
+++ b/include/commands/cmd_whois.h
@@ -33,6 +33,8 @@ DllExport void do_whois(InspIRCd* Instance, userrec* user, userrec* dest,unsigne
class cmd_whois : public command_t
{
public:
+ /** Constructor for whois.
+ */
cmd_whois (InspIRCd* Instance) : command_t(Instance,"WHOIS",0,1) { syntax = "<nick>{,<nick>}"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};
diff --git a/include/commands/cmd_zline.h b/include/commands/cmd_zline.h
index 54ce1a9c1..dfa607c03 100644
--- a/include/commands/cmd_zline.h
+++ b/include/commands/cmd_zline.h
@@ -30,6 +30,8 @@
class cmd_zline : public command_t
{
public:
+ /** Constructor for zline.
+ */
cmd_zline (InspIRCd* Instance) : command_t(Instance,"ZLINE",'o',1) { syntax = "<ipmask> [<duration> :<reason>]"; }
CmdResult Handle(const char** parameters, int pcnt, userrec *user);
};