From: pk910 Date: Thu, 22 Dec 2011 08:34:36 +0000 (+0100) Subject: fixed bug in Uplink::kick() X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=commitdiff_plain;h=2f0f5cc68df94a828efa64b55ba34be1a243c5a0 fixed bug in Uplink::kick() --- diff --git a/Uplink/Uplink.class.php b/Uplink/Uplink.class.php index 8d0451f..67ea3b1 100644 --- a/Uplink/Uplink.class.php +++ b/Uplink/Uplink.class.php @@ -949,7 +949,7 @@ class Uplink { $this->eventHandler->event_kick($user, $target, $channel, $reason); $channel->partUser($target, $reason); if(($this->flags & self::FLAG_CONNECTED)) - $this->send("K", $user->getNumeric(), $chanName, $target->getNumeric(), $reason); + $this->send("K", $user->getNumeric(), $channel->getName(), $target->getNumeric(), $reason); } public function privmsg($user, $target, $message) {