From 352eb2b29f2e3f759ef74344b4807b1b6dff8e59 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 23 Oct 2007 20:45:09 +0000 Subject: 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 --- src/commands/cmd_server.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/commands/cmd_server.cpp') diff --git a/src/commands/cmd_server.cpp b/src/commands/cmd_server.cpp index 9e80cc386..9b57b6fa4 100644 --- a/src/commands/cmd_server.cpp +++ b/src/commands/cmd_server.cpp @@ -21,7 +21,7 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance) return new CommandServer(Instance); } -CmdResult CommandServer::Handle (const char** parameters, int pcnt, User *user) +CmdResult CommandServer::Handle (const char**, int, User *user) { user->WriteServ("666 %s :You cannot identify as a server, you are a USER. IRC Operators informed.",user->nick); ServerInstance->WriteOpers("*** WARNING: %s attempted to issue a SERVER command and is registered as a user!",user->nick); -- cgit v1.3.1-10-gc9f91