projects
/
PHP-P10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added default CTCP replies
[PHP-P10.git]
/
Uplink
/
Uplink.class.php
diff --git
a/Uplink/Uplink.class.php
b/Uplink/Uplink.class.php
index 9d88ae523af513b05e5dd9b2223c2d1a0324767d..5e1e1ee827826973ff0db0f7fb8e2a5d5f11dce0 100644
(file)
--- a/
Uplink/Uplink.class.php
+++ b/
Uplink/Uplink.class.php
@@
-984,7
+984,13
@@
class Uplink {
}
}
}
}
+ public function ctcp($user, $target, $command, $text) {
+ return $this->privmsg($user, $target, "\001".strtoupper($command)." ".$text."\001");
+ }
+ public function ctcp_reply($user, $target, $command, $text) {
+ return $this->notice($user, $target, "\001".strtoupper($command)." ".$text."\001");
+ }
}
}