From 2f0f5cc68df94a828efa64b55ba34be1a243c5a0 Mon Sep 17 00:00:00 2001 From: pk910 Date: Thu, 22 Dec 2011 09:34:36 +0100 Subject: [PATCH] fixed bug in Uplink::kick() --- Uplink/Uplink.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- 2.20.1