projects
/
PHP-P10.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1f431a1
)
fixed PING reply (and faked it a little bit :P)
author
pk910
<philipp@zoelle1.de>
Thu, 28 Jul 2011 11:40:00 +0000
(13:40 +0200)
committer
pk910
<philipp@zoelle1.de>
Thu, 28 Jul 2011 11:40:00 +0000
(13:40 +0200)
Bots/ModManager.class.php
patch
|
blob
|
history
diff --git
a/Bots/ModManager.class.php
b/Bots/ModManager.class.php
index 318b11d8390acf10bc91d330fa17d76485574995..f9b5b2679a841ab6e29f08c440e498bd5912c15b 100644
(file)
--- 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, "P
ONG", $text);
+ $this->uplink->ctcp_reply($target, $user, "P
ING", ($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");