]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/commands/cmd_stats.h
Penalty should be 'const int'. Note, you can set a const in the constructors init...
[user/henk/code/inspircd.git] / include / commands / cmd_stats.h
index 2931a27e0637e2c4841c0b012aa1428c23cfd107..69e15113558bc9b85905531d226e3f9729145186 100644 (file)
@@ -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