summaryrefslogtreecommitdiff
path: root/include/commands
diff options
context:
space:
mode:
Diffstat (limited to 'include/commands')
-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.h4
-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_version.h2
-rw-r--r--include/commands/cmd_wallops.h2
-rw-r--r--include/commands/cmd_who.h8
-rw-r--r--include/commands/cmd_whois.h4
-rw-r--r--include/commands/cmd_whowas.h6
-rw-r--r--include/commands/cmd_zline.h2
53 files changed, 60 insertions, 60 deletions
diff --git a/include/commands/cmd_admin.h b/include/commands/cmd_admin.h
index 049d230b0..8b85a3e95 100644
--- a/include/commands/cmd_admin.h
+++ b/include/commands/cmd_admin.h
@@ -34,7 +34,7 @@ class cmd_admin : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_away.h b/include/commands/cmd_away.h
index 269c548aa..29255d936 100644
--- a/include/commands/cmd_away.h
+++ b/include/commands/cmd_away.h
@@ -36,7 +36,7 @@ class cmd_away : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_clearcache.h b/include/commands/cmd_clearcache.h
index b89029a30..0af086609 100644
--- a/include/commands/cmd_clearcache.h
+++ b/include/commands/cmd_clearcache.h
@@ -35,7 +35,7 @@ class cmd_clearcache : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_commands.h b/include/commands/cmd_commands.h
index a796d4ebd..03a6c08ba 100644
--- a/include/commands/cmd_commands.h
+++ b/include/commands/cmd_commands.h
@@ -36,7 +36,7 @@ class cmd_commands : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_connect.h b/include/commands/cmd_connect.h
index b621cab77..97096acb6 100644
--- a/include/commands/cmd_connect.h
+++ b/include/commands/cmd_connect.h
@@ -36,7 +36,7 @@ class cmd_connect : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_die.h b/include/commands/cmd_die.h
index cae2637e9..2eb9f7a6d 100644
--- a/include/commands/cmd_die.h
+++ b/include/commands/cmd_die.h
@@ -36,7 +36,7 @@ class cmd_die : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_eline.h b/include/commands/cmd_eline.h
index 36b22ce79..25c403be4 100644
--- a/include/commands/cmd_eline.h
+++ b/include/commands/cmd_eline.h
@@ -36,7 +36,7 @@ class cmd_eline : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_gline.h b/include/commands/cmd_gline.h
index caf703009..3a398995f 100644
--- a/include/commands/cmd_gline.h
+++ b/include/commands/cmd_gline.h
@@ -36,7 +36,7 @@ class cmd_gline : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_info.h b/include/commands/cmd_info.h
index c84a03adf..578a83217 100644
--- a/include/commands/cmd_info.h
+++ b/include/commands/cmd_info.h
@@ -36,7 +36,7 @@ class cmd_info : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_invite.h b/include/commands/cmd_invite.h
index 95391e829..ad78869b2 100644
--- a/include/commands/cmd_invite.h
+++ b/include/commands/cmd_invite.h
@@ -36,7 +36,7 @@ class cmd_invite : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_ison.h b/include/commands/cmd_ison.h
index 3b914d62e..e0ac4cc93 100644
--- a/include/commands/cmd_ison.h
+++ b/include/commands/cmd_ison.h
@@ -36,7 +36,7 @@ class cmd_ison : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_join.h b/include/commands/cmd_join.h
index cf678e4ea..6889b71fe 100644
--- a/include/commands/cmd_join.h
+++ b/include/commands/cmd_join.h
@@ -36,7 +36,7 @@ class cmd_join : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_kick.h b/include/commands/cmd_kick.h
index 3a58d4203..769ab316e 100644
--- a/include/commands/cmd_kick.h
+++ b/include/commands/cmd_kick.h
@@ -36,7 +36,7 @@ class cmd_kick : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_kill.h b/include/commands/cmd_kill.h
index 1e1835f00..1f80cded9 100644
--- a/include/commands/cmd_kill.h
+++ b/include/commands/cmd_kill.h
@@ -36,7 +36,7 @@ class cmd_kill : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_kline.h b/include/commands/cmd_kline.h
index edaa8a8bc..897c5402f 100644
--- a/include/commands/cmd_kline.h
+++ b/include/commands/cmd_kline.h
@@ -36,7 +36,7 @@ class cmd_kline : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_links.h b/include/commands/cmd_links.h
index 74b616401..6c5d521f1 100644
--- a/include/commands/cmd_links.h
+++ b/include/commands/cmd_links.h
@@ -36,7 +36,7 @@ class cmd_links : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_list.h b/include/commands/cmd_list.h
index f99111fa0..fabe50fca 100644
--- a/include/commands/cmd_list.h
+++ b/include/commands/cmd_list.h
@@ -36,7 +36,7 @@ class cmd_list : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_loadmodule.h b/include/commands/cmd_loadmodule.h
index 4288eb4c6..4e640b938 100644
--- a/include/commands/cmd_loadmodule.h
+++ b/include/commands/cmd_loadmodule.h
@@ -36,7 +36,7 @@ class cmd_loadmodule : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_lusers.h b/include/commands/cmd_lusers.h
index 76ebf5674..d4bebca18 100644
--- a/include/commands/cmd_lusers.h
+++ b/include/commands/cmd_lusers.h
@@ -36,7 +36,7 @@ class cmd_lusers : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_map.h b/include/commands/cmd_map.h
index 1ae324309..e3f546d7b 100644
--- a/include/commands/cmd_map.h
+++ b/include/commands/cmd_map.h
@@ -36,7 +36,7 @@ class cmd_map : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_mode.h b/include/commands/cmd_mode.h
index 9231f2c61..ddaeb69fb 100644
--- a/include/commands/cmd_mode.h
+++ b/include/commands/cmd_mode.h
@@ -35,7 +35,7 @@ class cmd_mode : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_modules.h b/include/commands/cmd_modules.h
index 73a6074d1..5dd3fab2b 100644
--- a/include/commands/cmd_modules.h
+++ b/include/commands/cmd_modules.h
@@ -36,7 +36,7 @@ class cmd_modules : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_motd.h b/include/commands/cmd_motd.h
index e6f5092b2..c79d22efb 100644
--- a/include/commands/cmd_motd.h
+++ b/include/commands/cmd_motd.h
@@ -39,7 +39,7 @@ class cmd_motd : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_names.h b/include/commands/cmd_names.h
index b65fdeda8..82c25f569 100644
--- a/include/commands/cmd_names.h
+++ b/include/commands/cmd_names.h
@@ -36,7 +36,7 @@ class cmd_names : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_nick.h b/include/commands/cmd_nick.h
index 849b59c22..f02522e9b 100644
--- a/include/commands/cmd_nick.h
+++ b/include/commands/cmd_nick.h
@@ -37,7 +37,7 @@ class cmd_nick : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
/** Handle internal command
* @param id Used to indicate if invalid nick changes are allowed.
diff --git a/include/commands/cmd_notice.h b/include/commands/cmd_notice.h
index 20c34b6bf..377aa4aba 100644
--- a/include/commands/cmd_notice.h
+++ b/include/commands/cmd_notice.h
@@ -36,7 +36,7 @@ class cmd_notice : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_oper.h b/include/commands/cmd_oper.h
index 17d71dbe3..581cfea16 100644
--- a/include/commands/cmd_oper.h
+++ b/include/commands/cmd_oper.h
@@ -38,7 +38,7 @@ class cmd_oper : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_part.h b/include/commands/cmd_part.h
index c419fb798..0965a5031 100644
--- a/include/commands/cmd_part.h
+++ b/include/commands/cmd_part.h
@@ -36,7 +36,7 @@ class cmd_part : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_pass.h b/include/commands/cmd_pass.h
index 0edd17a97..26e360923 100644
--- a/include/commands/cmd_pass.h
+++ b/include/commands/cmd_pass.h
@@ -39,7 +39,7 @@ class cmd_pass : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_ping.h b/include/commands/cmd_ping.h
index 6e856fa3a..326342e7b 100644
--- a/include/commands/cmd_ping.h
+++ b/include/commands/cmd_ping.h
@@ -36,7 +36,7 @@ class cmd_ping : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_pong.h b/include/commands/cmd_pong.h
index f050a4ee8..91b87bfb0 100644
--- a/include/commands/cmd_pong.h
+++ b/include/commands/cmd_pong.h
@@ -37,7 +37,7 @@ class cmd_pong : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_privmsg.h b/include/commands/cmd_privmsg.h
index 604093851..12f1c0756 100644
--- a/include/commands/cmd_privmsg.h
+++ b/include/commands/cmd_privmsg.h
@@ -36,7 +36,7 @@ class cmd_privmsg : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_qline.h b/include/commands/cmd_qline.h
index fb9e88048..7ea7643f1 100644
--- a/include/commands/cmd_qline.h
+++ b/include/commands/cmd_qline.h
@@ -36,7 +36,7 @@ class cmd_qline : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_quit.h b/include/commands/cmd_quit.h
index 06c564ac0..23da5481c 100644
--- a/include/commands/cmd_quit.h
+++ b/include/commands/cmd_quit.h
@@ -36,7 +36,7 @@ class cmd_quit : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_rehash.h b/include/commands/cmd_rehash.h
index 684ffee9c..401247972 100644
--- a/include/commands/cmd_rehash.h
+++ b/include/commands/cmd_rehash.h
@@ -36,7 +36,7 @@ class cmd_rehash : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_reloadmodule.h b/include/commands/cmd_reloadmodule.h
index 672816289..cdf053062 100644
--- a/include/commands/cmd_reloadmodule.h
+++ b/include/commands/cmd_reloadmodule.h
@@ -36,7 +36,7 @@ class cmd_reloadmodule : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_restart.h b/include/commands/cmd_restart.h
index 0834bf61b..f85a00a82 100644
--- a/include/commands/cmd_restart.h
+++ b/include/commands/cmd_restart.h
@@ -39,7 +39,7 @@ class cmd_restart : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_rules.h b/include/commands/cmd_rules.h
index 5313dae32..adfab7e17 100644
--- a/include/commands/cmd_rules.h
+++ b/include/commands/cmd_rules.h
@@ -39,7 +39,7 @@ class cmd_rules : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_server.h b/include/commands/cmd_server.h
index e3383e5c7..2b25e406d 100644
--- a/include/commands/cmd_server.h
+++ b/include/commands/cmd_server.h
@@ -36,7 +36,7 @@ class cmd_server : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_squit.h b/include/commands/cmd_squit.h
index faef49dff..f1270ef4c 100644
--- a/include/commands/cmd_squit.h
+++ b/include/commands/cmd_squit.h
@@ -39,7 +39,7 @@ class cmd_squit : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_stats.h b/include/commands/cmd_stats.h
index 2931a27e0..69e151135 100644
--- a/include/commands/cmd_stats.h
+++ b/include/commands/cmd_stats.h
@@ -20,7 +20,7 @@
#include "users.h"
#include "channels.h"
-DllExport void DoStats(InspIRCd* Instance, char statschar, userrec* user, string_list &results);
+DllExport void DoStats(InspIRCd* Instance, char statschar, User* user, string_list &results);
/** Handle /STATS. These command handlers can be reloaded by the core,
* and handle basic RFC1459 commands. Commands within modules work
@@ -39,7 +39,7 @@ class cmd_stats : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_time.h b/include/commands/cmd_time.h
index 24423c46e..b6d353c89 100644
--- a/include/commands/cmd_time.h
+++ b/include/commands/cmd_time.h
@@ -36,7 +36,7 @@ class cmd_time : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_topic.h b/include/commands/cmd_topic.h
index 0e75df750..3375c1641 100644
--- a/include/commands/cmd_topic.h
+++ b/include/commands/cmd_topic.h
@@ -36,7 +36,7 @@ class cmd_topic : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_trace.h b/include/commands/cmd_trace.h
index 6f5aecf00..1f551f1eb 100644
--- a/include/commands/cmd_trace.h
+++ b/include/commands/cmd_trace.h
@@ -36,7 +36,7 @@ class cmd_trace : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_unloadmodule.h b/include/commands/cmd_unloadmodule.h
index 962c7dcb6..2afd84168 100644
--- a/include/commands/cmd_unloadmodule.h
+++ b/include/commands/cmd_unloadmodule.h
@@ -36,7 +36,7 @@ class cmd_unloadmodule : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_user.h b/include/commands/cmd_user.h
index dc4e0e3aa..186269d9a 100644
--- a/include/commands/cmd_user.h
+++ b/include/commands/cmd_user.h
@@ -36,7 +36,7 @@ class cmd_user : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_userhost.h b/include/commands/cmd_userhost.h
index bd19219de..65b358e47 100644
--- a/include/commands/cmd_userhost.h
+++ b/include/commands/cmd_userhost.h
@@ -36,7 +36,7 @@ class cmd_userhost : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_version.h b/include/commands/cmd_version.h
index 2163bc1cf..a70e033df 100644
--- a/include/commands/cmd_version.h
+++ b/include/commands/cmd_version.h
@@ -36,7 +36,7 @@ class cmd_version : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_wallops.h b/include/commands/cmd_wallops.h
index 6c09989fe..c4ab9973f 100644
--- a/include/commands/cmd_wallops.h
+++ b/include/commands/cmd_wallops.h
@@ -36,7 +36,7 @@ class cmd_wallops : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_who.h b/include/commands/cmd_who.h
index f89137c0a..7d1bab933 100644
--- a/include/commands/cmd_who.h
+++ b/include/commands/cmd_who.h
@@ -26,7 +26,7 @@
*/
class cmd_who : public Command
{
- bool CanView(chanrec* chan, userrec* user);
+ bool CanView(Channel* chan, User* user);
bool opt_viewopersonly;
bool opt_showrealhost;
bool opt_unlimit;
@@ -42,15 +42,15 @@ class cmd_who : public Command
/** Constructor for who.
*/
cmd_who (InspIRCd* Instance) : Command(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);
+ 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
* @param pcnt The number of parameters passed to teh command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
- bool whomatch(userrec* user, const char* matchtext);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
+ bool whomatch(User* user, const char* matchtext);
};
#endif
diff --git a/include/commands/cmd_whois.h b/include/commands/cmd_whois.h
index 6aec85e0a..b83fe8e5f 100644
--- a/include/commands/cmd_whois.h
+++ b/include/commands/cmd_whois.h
@@ -20,7 +20,7 @@
#include "channels.h"
const char* Spacify(char* n);
-DllExport void do_whois(InspIRCd* Instance, userrec* user, userrec* dest,unsigned long signon, unsigned long idle, const char* nick);
+DllExport void do_whois(InspIRCd* Instance, User* user, User* dest,unsigned long signon, unsigned long idle, const char* nick);
/** Handle /WHOIS. These command handlers can be reloaded by the core,
* and handle basic RFC1459 commands. Commands within modules work
@@ -39,7 +39,7 @@ class cmd_whois : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif
diff --git a/include/commands/cmd_whowas.h b/include/commands/cmd_whowas.h
index 50f5ffd0f..c8f367116 100644
--- a/include/commands/cmd_whowas.h
+++ b/include/commands/cmd_whowas.h
@@ -79,7 +79,7 @@ class cmd_whowas : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
/** Handle an internal request from another command, the core, or a module
* @param Command ID
* @param Zero or more parameters, whos form is specified by the command ID.
@@ -88,7 +88,7 @@ class cmd_whowas : public Command
* return CMD_LOCALONLY.
*/
CmdResult HandleInternal(const unsigned int id, const std::deque<classbase*> &parameters);
- void AddToWhoWas(userrec* user);
+ void AddToWhoWas(User* user);
void GetStats(Extensible* ext);
void PruneWhoWas(time_t t);
void MaintainWhoWas(time_t t);
@@ -121,7 +121,7 @@ class WhoWasGroup : public classbase
/** Initialize this WhoQasFroup with a user
*/
- WhoWasGroup(userrec* user);
+ WhoWasGroup(User* user);
/** Destructor
*/
~WhoWasGroup();
diff --git a/include/commands/cmd_zline.h b/include/commands/cmd_zline.h
index 114de31b1..e3ad7b727 100644
--- a/include/commands/cmd_zline.h
+++ b/include/commands/cmd_zline.h
@@ -36,7 +36,7 @@ class cmd_zline : public Command
* @param user The user issuing the command
* @return A value from CmdResult to indicate command success or failure.
*/
- CmdResult Handle(const char** parameters, int pcnt, userrec *user);
+ CmdResult Handle(const char** parameters, int pcnt, User *user);
};
#endif