X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=Uplink%2FUplink.class.php;h=1e8aca09411a00d1a2fc22e112e2fdc578127a18;hp=eedc89ecf5a73c22dfcc1b22fa34cd4bdb65bec1;hb=f59524d54130db4250bbfa46e75300af76d02b92;hpb=f5697bd40b017e99b8eba03577e468ec9763d11e diff --git a/Uplink/Uplink.class.php b/Uplink/Uplink.class.php index eedc89e..1e8aca0 100644 --- a/Uplink/Uplink.class.php +++ b/Uplink/Uplink.class.php @@ -955,7 +955,7 @@ class Uplink { $channel = P10_Channel::getChannelByName($targetStr); if($channel == null) $channel = new P10_Channel($targetStr); - $modes = $channel->getModes()->setModes($modes); + $modes = $channel->getModes()->setModes($modes, true); if(($this->flags & self::FLAG_CONNECTED)) $this->send(($force ? "OM" : "M"), $user->getNumeric(), $targetStr, $modes); if($this->eventHandler) @@ -964,7 +964,7 @@ class Uplink { $targetUser = P10_User::getUserByNum($targetStr); if($targetUser->getServer() === $this->server) { //just do it :D - $modes = $targetUser->getModes()->setModes($modes); + $modes = $targetUser->getModes()->setModes($modes, true); if(($this->flags & self::FLAG_CONNECTED)) $this->send("M", $targetUser->getNumeric(), $targetUser->getNick(), $modes); if($this->eventHandler)