summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-21 14:56:38 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2007-10-21 14:56:38 +0000
commitce8eba7d4b94b4408ac7444b4ffdb04a8957da13 (patch)
tree8ed6234bd51c97eba394fad75f9c3773902e7a39 /include
parentff8f998b2b855467de14d31ced9762dfdce65cce (diff)
Don't penalise PING/PONG
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8258 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r--include/commands/cmd_ping.h2
-rw-r--r--include/commands/cmd_pong.h2
2 files changed, 2 insertions, 2 deletions
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 = "<servername> [:<servername>]"; }
+ cmd_ping (InspIRCd* Instance) : Command(Instance,"PING", 0, 1, false, 0) { syntax = "<servername> [:<servername>]"; }
/** 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 = "<ping-text>"; }
+ cmd_pong (InspIRCd* Instance) : Command(Instance,"PONG", 0, 1, false, 0) { syntax = "<ping-text>"; }
/** Handle command.
* @param parameters The parameters to the comamnd
* @param pcnt The number of parameters passed to teh command