From: Valerie Pond Date: Thu, 23 Mar 2023 21:03:04 +0000 (+0000) Subject: Update Channel.php X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-rpc-php.git/commitdiff_plain/c427a4ef706ed81c1a86f3326b5b323b6c8e5973?hp=57c1d592f076a9e06be89345cfe84d9e54a8664a Update Channel.php Fix incorrect method. --- diff --git a/lib/Channel.php b/lib/Channel.php index 2a3f9e5..4e9db45 100644 --- a/lib/Channel.php +++ b/lib/Channel.php @@ -84,7 +84,7 @@ class Channel */ public function kick(string $channel, string $nick, string $reason): stdClass|array|bool { - return $this->connection->query('user.kick', [ + return $this->connection->query('channel.kick', [ 'nick' => $nick, 'channel' => $channel, 'reason' => $reason,