fixed PING reply (and faked it a little bit :P)
authorpk910 <philipp@zoelle1.de>
Thu, 28 Jul 2011 11:40:00 +0000 (13:40 +0200)
committerpk910 <philipp@zoelle1.de>
Thu, 28 Jul 2011 11:40:00 +0000 (13:40 +0200)
Bots/ModManager.class.php

index 318b11d8390acf10bc91d330fa17d76485574995..f9b5b2679a841ab6e29f08c440e498bd5912c15b 100644 (file)
@@ -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");