summaryrefslogtreecommitdiff
path: root/src/commands/cmd_user.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-23 20:45:09 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-23 20:45:09 +0000
commit352eb2b29f2e3f759ef74344b4807b1b6dff8e59 (patch)
tree840a98a68cdc20bfe032320f39342bf0c6918c18 /src/commands/cmd_user.cpp
parenta78e985b881c97d476b0799ea5db5fe1f417c086 (diff)
All the core is now pedantic safe!
NOTE: I changed ModeHandler removing a redundant param. Devs, if you find stuff that doesnt compile, change AddMode(handler, 'l') to AddMode(handler); and it will :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8319 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/commands/cmd_user.cpp')
-rw-r--r--src/commands/cmd_user.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commands/cmd_user.cpp b/src/commands/cmd_user.cpp
index 0f64600e9..7d3f73a3f 100644
--- a/src/commands/cmd_user.cpp
+++ b/src/commands/cmd_user.cpp
@@ -19,7 +19,7 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance)
return new CommandUser(Instance);
}
-CmdResult CommandUser::Handle (const char** parameters, int pcnt, User *user)
+CmdResult CommandUser::Handle (const char** parameters, int, User *user)
{
/* A user may only send the USER command once */
if (!(user->registered & REG_USER))