From ce8eba7d4b94b4408ac7444b4ffdb04a8957da13 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 21 Oct 2007 14:56:38 +0000 Subject: Don't penalise PING/PONG git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8258 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/commands/cmd_ping.h | 2 +- include/commands/cmd_pong.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'include/commands') diff --git a/include/commands/cmd_ping.h b/include/commands/cmd_ping.h index 326342e7b..425004930 100644 --- a/include/commands/cmd_ping.h +++ b/include/commands/cmd_ping.h @@ -29,7 +29,7 @@ class cmd_ping : public Command public: /** Constructor for ping. */ - cmd_ping (InspIRCd* Instance) : Command(Instance,"PING",0,1) { syntax = " [:]"; } + cmd_ping (InspIRCd* Instance) : Command(Instance,"PING", 0, 1, false, 0) { syntax = " [:]"; } /** Handle command. * @param parameters The parameters to the comamnd * @param pcnt The number of parameters passed to teh command diff --git a/include/commands/cmd_pong.h b/include/commands/cmd_pong.h index 91b87bfb0..37cbb13ac 100644 --- a/include/commands/cmd_pong.h +++ b/include/commands/cmd_pong.h @@ -30,7 +30,7 @@ class cmd_pong : public Command public: /** Constructor for pong. */ - cmd_pong (InspIRCd* Instance) : Command(Instance,"PONG",0,1) { syntax = ""; } + cmd_pong (InspIRCd* Instance) : Command(Instance,"PONG", 0, 1, false, 0) { syntax = ""; } /** Handle command. * @param parameters The parameters to the comamnd * @param pcnt The number of parameters passed to teh command -- cgit v1.2.3