X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=ModCMD%2FModCMD.class.php;h=f07e7b044ca44f373873f500939b7db743b22152;hp=82ee956c6637dce960e7e784540e357142973ba0;hb=1f431a1b35909bbb709f6614899877b33428fe43;hpb=0f30e96ae37491aee19e72b89cc54a6798d1f254 diff --git a/ModCMD/ModCMD.class.php b/ModCMD/ModCMD.class.php index 82ee956..f07e7b0 100644 --- a/ModCMD/ModCMD.class.php +++ b/ModCMD/ModCMD.class.php @@ -175,16 +175,16 @@ class ModCMD implements EventHandler { $this->event(BIND_CTCP, array($user, $channel, $command, $text, true)); } - public function event_chanctcpreply($user, $target, $command, $text) { + public function event_chanctcpreply($user, $channel, $command, $text) { $this->event(BIND_CTCPREPLY, array($user, $channel, $command, $text, true)); } public function event_privctcp($user, $target, $command, $text) { - $this->event(BIND_CTCP, array($user, $channel, $command, $text, false)); + $this->event(BIND_CTCP, array($user, $target, $command, $text, false)); } public function event_privctcpreply($user, $target, $command, $text) { - $this->event(BIND_CTCPREPLY, array($user, $channel, $command, $text, false)); + $this->event(BIND_CTCPREPLY, array($user, $target, $command, $text, false)); } public function event_away($user, $away) {