From b4929d2fc7944f7b3d0efc666a2bff0cd7f821cb Mon Sep 17 00:00:00 2001 From: pk910 Date: Thu, 28 Jul 2011 13:40:00 +0200 Subject: [PATCH] fixed PING reply (and faked it a little bit :P) --- Bots/ModManager.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Bots/ModManager.class.php b/Bots/ModManager.class.php index 318b11d..f9b5b26 100644 --- a/Bots/ModManager.class.php +++ b/Bots/ModManager.class.php @@ -120,7 +120,7 @@ class {$_NAME} extends Bot { if(!$publicCtcp) { switch($command) { case"PING": - $this->uplink->ctcp_reply($target, $user, "PONG", $text); + $this->uplink->ctcp_reply($target, $user, "PING", ($text - (60*60*1337 + 42*60))); //1337 42 ftw! break; case"VERSION": $this->uplink->ctcp_reply($target, $user, "VERSION", "PHP-P10 Pack by pk910. Source: http://devserv.pk910.de/git/?p=PHP-P10.git"); -- 2.20.1