]> jfr.im git - irc/unrealircd/unrealircd-rpc-php.git/commitdiff
Update Channel.php
authorValerie Pond <redacted>
Thu, 23 Mar 2023 21:03:04 +0000 (21:03 +0000)
committerGitHub <redacted>
Thu, 23 Mar 2023 21:03:04 +0000 (21:03 +0000)
Fix incorrect method.

lib/Channel.php

index 2a3f9e5fa8d0c298643613989f3e39611fcf93c3..4e9db459b661f1877cadf8d1074f872b1a7ecc23 100644 (file)
@@ -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,