diff options
Diffstat (limited to 'include/commands')
52 files changed, 52 insertions, 52 deletions
diff --git a/include/commands/cmd_admin.h b/include/commands/cmd_admin.h index cf355305c..ae577950e 100644 --- a/include/commands/cmd_admin.h +++ b/include/commands/cmd_admin.h @@ -25,7 +25,7 @@ class cmd_admin : public command_t { public: cmd_admin () : command_t("ADMIN",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_away.h b/include/commands/cmd_away.h index a4303a647..9cb15c9fa 100644 --- a/include/commands/cmd_away.h +++ b/include/commands/cmd_away.h @@ -32,7 +32,7 @@ class cmd_away : public command_t { public: cmd_away () : command_t("AWAY",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_commands.h b/include/commands/cmd_commands.h index f3877d2c1..17b72f07b 100644 --- a/include/commands/cmd_commands.h +++ b/include/commands/cmd_commands.h @@ -32,7 +32,7 @@ class cmd_commands : public command_t { public: cmd_commands () : command_t("COMMANDS",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_connect.h b/include/commands/cmd_connect.h index a65000da4..979ba4a6a 100644 --- a/include/commands/cmd_connect.h +++ b/include/commands/cmd_connect.h @@ -25,7 +25,7 @@ class cmd_connect : public command_t { public: cmd_connect () : command_t("CONNECT",'o',1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_die.h b/include/commands/cmd_die.h index 89bcf6a26..e95137ad8 100644 --- a/include/commands/cmd_die.h +++ b/include/commands/cmd_die.h @@ -32,7 +32,7 @@ class cmd_die : public command_t { public: cmd_die () : command_t("DIE",'o',1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_eline.h b/include/commands/cmd_eline.h index fcb9bcc55..a48b74a43 100644 --- a/include/commands/cmd_eline.h +++ b/include/commands/cmd_eline.h @@ -32,7 +32,7 @@ class cmd_eline : public command_t { public: cmd_eline () : command_t("ELINE",'o',1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_gline.h b/include/commands/cmd_gline.h index d996af694..d8016d733 100644 --- a/include/commands/cmd_gline.h +++ b/include/commands/cmd_gline.h @@ -32,7 +32,7 @@ class cmd_gline : public command_t { public: cmd_gline () : command_t("GLINE",'o',1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_info.h b/include/commands/cmd_info.h index f0223e5e4..122395c44 100644 --- a/include/commands/cmd_info.h +++ b/include/commands/cmd_info.h @@ -32,7 +32,7 @@ class cmd_info : public command_t { public: cmd_info () : command_t("INFO",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_invite.h b/include/commands/cmd_invite.h index 4fe745bad..4150c8cc8 100644 --- a/include/commands/cmd_invite.h +++ b/include/commands/cmd_invite.h @@ -32,7 +32,7 @@ class cmd_invite : public command_t { public: cmd_invite () : command_t("INVITE",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_ison.h b/include/commands/cmd_ison.h index 2e66e2261..5dd28ab75 100644 --- a/include/commands/cmd_ison.h +++ b/include/commands/cmd_ison.h @@ -32,7 +32,7 @@ class cmd_ison : public command_t { public: cmd_ison () : command_t("ISON",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_join.h b/include/commands/cmd_join.h index e8c9e8eec..c7b4a3b18 100644 --- a/include/commands/cmd_join.h +++ b/include/commands/cmd_join.h @@ -32,7 +32,7 @@ class cmd_join : public command_t { public: cmd_join () : command_t("JOIN",0,1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_kick.h b/include/commands/cmd_kick.h index c23c2aedd..6fb470329 100644 --- a/include/commands/cmd_kick.h +++ b/include/commands/cmd_kick.h @@ -32,7 +32,7 @@ class cmd_kick : public command_t { public: cmd_kick () : command_t("KICK",0,2) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_kill.h b/include/commands/cmd_kill.h index 2fdf39e52..a8e879166 100644 --- a/include/commands/cmd_kill.h +++ b/include/commands/cmd_kill.h @@ -32,7 +32,7 @@ class cmd_kill : public command_t { public: cmd_kill () : command_t("KILL",'o',2) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_kline.h b/include/commands/cmd_kline.h index c0e4bf8c7..6f96f80dd 100644 --- a/include/commands/cmd_kline.h +++ b/include/commands/cmd_kline.h @@ -32,7 +32,7 @@ class cmd_kline : public command_t { public: cmd_kline () : command_t("KLINE",'o',1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_links.h b/include/commands/cmd_links.h index 1d710a071..ef465fe37 100644 --- a/include/commands/cmd_links.h +++ b/include/commands/cmd_links.h @@ -32,7 +32,7 @@ class cmd_links : public command_t { public: cmd_links () : command_t("LINKS",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_list.h b/include/commands/cmd_list.h index bc6a88749..29e61d17a 100644 --- a/include/commands/cmd_list.h +++ b/include/commands/cmd_list.h @@ -32,7 +32,7 @@ class cmd_list : public command_t { public: cmd_list () : command_t("LIST",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_loadmodule.h b/include/commands/cmd_loadmodule.h index d9ee5ad4b..bea19ae5f 100644 --- a/include/commands/cmd_loadmodule.h +++ b/include/commands/cmd_loadmodule.h @@ -32,7 +32,7 @@ class cmd_loadmodule : public command_t { public: cmd_loadmodule () : command_t("LOADMODULE",'o',1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_lusers.h b/include/commands/cmd_lusers.h index 79800bbce..156635af0 100644 --- a/include/commands/cmd_lusers.h +++ b/include/commands/cmd_lusers.h @@ -32,7 +32,7 @@ class cmd_lusers : public command_t { public: cmd_lusers () : command_t("LUSERS",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_map.h b/include/commands/cmd_map.h index 682407c38..c560198df 100644 --- a/include/commands/cmd_map.h +++ b/include/commands/cmd_map.h @@ -32,7 +32,7 @@ class cmd_map : public command_t { public: cmd_map () : command_t("MAP",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_modules.h b/include/commands/cmd_modules.h index 23a702247..a1684e507 100644 --- a/include/commands/cmd_modules.h +++ b/include/commands/cmd_modules.h @@ -32,7 +32,7 @@ class cmd_modules : public command_t { public: cmd_modules () : command_t("MODULES",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_motd.h b/include/commands/cmd_motd.h index 78ceaad2c..ca065f97e 100644 --- a/include/commands/cmd_motd.h +++ b/include/commands/cmd_motd.h @@ -32,7 +32,7 @@ class cmd_motd : public command_t { public: cmd_motd () : command_t("MOTD",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_names.h b/include/commands/cmd_names.h index 0a70b4d21..7c1b126f1 100644 --- a/include/commands/cmd_names.h +++ b/include/commands/cmd_names.h @@ -32,7 +32,7 @@ class cmd_names : public command_t { public: cmd_names () : command_t("NAMES",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_nick.h b/include/commands/cmd_nick.h index b0f39a1a4..53f7f5a87 100644 --- a/include/commands/cmd_nick.h +++ b/include/commands/cmd_nick.h @@ -32,7 +32,7 @@ class cmd_nick : public command_t { public: cmd_nick () : command_t("NICK",0,1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_notice.h b/include/commands/cmd_notice.h index b392a0c3a..358e405d6 100644 --- a/include/commands/cmd_notice.h +++ b/include/commands/cmd_notice.h @@ -32,7 +32,7 @@ class cmd_notice : public command_t { public: cmd_notice () : command_t("NOTICE",0,2) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_oper.h b/include/commands/cmd_oper.h index e71ca07a6..8e731b579 100644 --- a/include/commands/cmd_oper.h +++ b/include/commands/cmd_oper.h @@ -34,7 +34,7 @@ class cmd_oper : public command_t { public: cmd_oper () : command_t("OPER",0,2) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_part.h b/include/commands/cmd_part.h index 994244d56..e23f106fc 100644 --- a/include/commands/cmd_part.h +++ b/include/commands/cmd_part.h @@ -32,7 +32,7 @@ class cmd_part : public command_t { public: cmd_part () : command_t("PART",0,1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_pass.h b/include/commands/cmd_pass.h index 03c5ca7fc..c79686220 100644 --- a/include/commands/cmd_pass.h +++ b/include/commands/cmd_pass.h @@ -32,7 +32,7 @@ class cmd_pass : public command_t { public: cmd_pass () : command_t("PASS",0,1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_ping.h b/include/commands/cmd_ping.h index fdde057d3..8b9d88f1c 100644 --- a/include/commands/cmd_ping.h +++ b/include/commands/cmd_ping.h @@ -32,7 +32,7 @@ class cmd_ping : public command_t { public: cmd_ping () : command_t("PING",0,1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_pong.h b/include/commands/cmd_pong.h index 381d16253..ec517bdad 100644 --- a/include/commands/cmd_pong.h +++ b/include/commands/cmd_pong.h @@ -32,7 +32,7 @@ class cmd_pong : public command_t { public: cmd_pong () : command_t("PONG",0,1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_privmsg.h b/include/commands/cmd_privmsg.h index 2af58b9d0..a35a5cdec 100644 --- a/include/commands/cmd_privmsg.h +++ b/include/commands/cmd_privmsg.h @@ -32,7 +32,7 @@ class cmd_privmsg : public command_t { public: cmd_privmsg () : command_t("PRIVMSG",0,2) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_qline.h b/include/commands/cmd_qline.h index 5b209133e..f563b9cbb 100644 --- a/include/commands/cmd_qline.h +++ b/include/commands/cmd_qline.h @@ -32,7 +32,7 @@ class cmd_qline : public command_t { public: cmd_qline () : command_t("QLINE",'o',1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_quit.h b/include/commands/cmd_quit.h index f60c4b6b0..5229aaa50 100644 --- a/include/commands/cmd_quit.h +++ b/include/commands/cmd_quit.h @@ -32,7 +32,7 @@ class cmd_quit : public command_t { public: cmd_quit () : command_t("QUIT",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_rehash.h b/include/commands/cmd_rehash.h index f56ab126c..e98eed301 100644 --- a/include/commands/cmd_rehash.h +++ b/include/commands/cmd_rehash.h @@ -32,7 +32,7 @@ class cmd_rehash : public command_t { public: cmd_rehash () : command_t("REHASH",'o',0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_restart.h b/include/commands/cmd_restart.h index 622552a79..e77476919 100644 --- a/include/commands/cmd_restart.h +++ b/include/commands/cmd_restart.h @@ -32,7 +32,7 @@ class cmd_restart : public command_t { public: cmd_restart () : command_t("RESTART",'o',1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_rules.h b/include/commands/cmd_rules.h index 40d40ff6c..60567e24d 100644 --- a/include/commands/cmd_rules.h +++ b/include/commands/cmd_rules.h @@ -32,7 +32,7 @@ class cmd_rules : public command_t { public: cmd_rules () : command_t("RULES",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_server.h b/include/commands/cmd_server.h index d3822c9d8..05e1d57d0 100644 --- a/include/commands/cmd_server.h +++ b/include/commands/cmd_server.h @@ -32,7 +32,7 @@ class cmd_server : public command_t { public: cmd_server () : command_t("SERVER",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_squit.h b/include/commands/cmd_squit.h index 18fb2e926..e8a63b452 100644 --- a/include/commands/cmd_squit.h +++ b/include/commands/cmd_squit.h @@ -32,7 +32,7 @@ class cmd_squit : public command_t { public: cmd_squit () : command_t("SQUIT",'o',1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_stats.h b/include/commands/cmd_stats.h index 06924fb13..eeb3a0013 100644 --- a/include/commands/cmd_stats.h +++ b/include/commands/cmd_stats.h @@ -32,7 +32,7 @@ class cmd_stats : public command_t { public: cmd_stats () : command_t("STATS",0,1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_summon.h b/include/commands/cmd_summon.h index cfa70800b..467b1f71a 100644 --- a/include/commands/cmd_summon.h +++ b/include/commands/cmd_summon.h @@ -32,7 +32,7 @@ class cmd_summon : public command_t { public: cmd_summon () : command_t("SUMMON",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_time.h b/include/commands/cmd_time.h index b45b62bfe..2c4f55ba0 100644 --- a/include/commands/cmd_time.h +++ b/include/commands/cmd_time.h @@ -32,7 +32,7 @@ class cmd_time : public command_t { public: cmd_time () : command_t("TIME",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_topic.h b/include/commands/cmd_topic.h index e467a8b03..e0cd7e3de 100644 --- a/include/commands/cmd_topic.h +++ b/include/commands/cmd_topic.h @@ -32,7 +32,7 @@ class cmd_topic : public command_t { public: cmd_topic () : command_t("TOPIC",0,1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_trace.h b/include/commands/cmd_trace.h index 9c8d9ceed..50669498a 100644 --- a/include/commands/cmd_trace.h +++ b/include/commands/cmd_trace.h @@ -32,7 +32,7 @@ class cmd_trace : public command_t { public: cmd_trace () : command_t("TRACE",'o',0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_unloadmodule.h b/include/commands/cmd_unloadmodule.h index 8789d83eb..1eef989b1 100644 --- a/include/commands/cmd_unloadmodule.h +++ b/include/commands/cmd_unloadmodule.h @@ -32,7 +32,7 @@ class cmd_unloadmodule : public command_t { public: cmd_unloadmodule () : command_t("UNLOADMODULE",'o',1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_user.h b/include/commands/cmd_user.h index f4c9919a9..59a8f4c35 100644 --- a/include/commands/cmd_user.h +++ b/include/commands/cmd_user.h @@ -32,7 +32,7 @@ class cmd_user : public command_t { public: cmd_user () : command_t("USER",0,4) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_userhost.h b/include/commands/cmd_userhost.h index b319bb782..8fd75e63d 100644 --- a/include/commands/cmd_userhost.h +++ b/include/commands/cmd_userhost.h @@ -32,7 +32,7 @@ class cmd_userhost : public command_t { public: cmd_userhost () : command_t("USERHOST",0,1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_users.h b/include/commands/cmd_users.h index d7ebcdec9..a5e92f1a2 100644 --- a/include/commands/cmd_users.h +++ b/include/commands/cmd_users.h @@ -32,7 +32,7 @@ class cmd_users : public command_t { public: cmd_users () : command_t("USERS",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_version.h b/include/commands/cmd_version.h index 0fcd79543..e80dc3565 100644 --- a/include/commands/cmd_version.h +++ b/include/commands/cmd_version.h @@ -32,7 +32,7 @@ class cmd_version : public command_t { public: cmd_version () : command_t("VERSION",0,0) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_wallops.h b/include/commands/cmd_wallops.h index b32783ef6..3f98aa02d 100644 --- a/include/commands/cmd_wallops.h +++ b/include/commands/cmd_wallops.h @@ -32,7 +32,7 @@ class cmd_wallops : public command_t { public: cmd_wallops () : command_t("WALLOPS",'o',1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_who.h b/include/commands/cmd_who.h index 0487c43dc..cbf59ad37 100644 --- a/include/commands/cmd_who.h +++ b/include/commands/cmd_who.h @@ -32,7 +32,7 @@ class cmd_who : public command_t { public: cmd_who () : command_t("WHO",0,1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_whois.h b/include/commands/cmd_whois.h index 75abc6053..b129b3480 100644 --- a/include/commands/cmd_whois.h +++ b/include/commands/cmd_whois.h @@ -34,7 +34,7 @@ class cmd_whois : public command_t { public: cmd_whois () : command_t("WHOIS",0,1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_whowas.h b/include/commands/cmd_whowas.h index 09269a5f1..50838b17c 100644 --- a/include/commands/cmd_whowas.h +++ b/include/commands/cmd_whowas.h @@ -32,7 +32,7 @@ class cmd_whowas : public command_t { public: cmd_whowas () : command_t("WHOWAS",0,1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif diff --git a/include/commands/cmd_zline.h b/include/commands/cmd_zline.h index 438e33665..3ab32e080 100644 --- a/include/commands/cmd_zline.h +++ b/include/commands/cmd_zline.h @@ -32,7 +32,7 @@ class cmd_zline : public command_t { public: cmd_zline () : command_t("ZLINE",'o',1) { } - void Handle(char **parameters, int pcnt, userrec *user); + void Handle(const char** parameters, int pcnt, userrec *user); }; #endif |