Another year is about to end... So we have to update these damn copyright information :P
[PHP-P10.git] / Bots / ModManager.class.php
index 318b11d8390acf10bc91d330fa17d76485574995..0077f1c0bf5d0de6a89a2baba419a37ac9c9fc7a 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /******************************* PHP-P10 v2 *****************************
- * Copyright (C) 2011  Philipp Kreil (pk910)                            *
+ * Copyright (C) 2011-2012  Philipp Kreil (pk910)                       *
  *                                                                      *
  * This program is free software: you can redistribute it and/or modify *
  * it under the terms of the GNU General Public License as published by *
@@ -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");