From: pk910 Date: Thu, 28 Jul 2011 11:40:00 +0000 (+0200) Subject: fixed PING reply (and faked it a little bit :P) X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=commitdiff_plain;h=b4929d2fc7944f7b3d0efc666a2bff0cd7f821cb fixed PING reply (and faked it a little bit :P) --- 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");