X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=Uplink%2FUplink.class.php;h=5e1e1ee827826973ff0db0f7fb8e2a5d5f11dce0;hp=9d88ae523af513b05e5dd9b2223c2d1a0324767d;hb=1f431a1b35909bbb709f6614899877b33428fe43;hpb=0f30e96ae37491aee19e72b89cc54a6798d1f254 diff --git a/Uplink/Uplink.class.php b/Uplink/Uplink.class.php index 9d88ae5..5e1e1ee 100644 --- 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"); + } }