X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=Uplink%2FP10_Channel.class.php;h=0022b623cd2a5cc1dd2dfad1df84d160866d3226;hp=4fe3a205ae27552f402a1d6e735e675d4f66d983;hb=811bc0c7a1f583fb624a0f8c3601146e063c5a25;hpb=0f30e96ae37491aee19e72b89cc54a6798d1f254 diff --git a/Uplink/P10_Channel.class.php b/Uplink/P10_Channel.class.php index 4fe3a20..0022b62 100644 --- a/Uplink/P10_Channel.class.php +++ b/Uplink/P10_Channel.class.php @@ -1,6 +1,6 @@ addChannel($this); } - public function burstUser($user, $opped, $voiced) { + public function burstUser($user, $opped, $halfopped, $voiced) { $this->users[$user->getNumeric()] = $user; - $this->userPrivs[$user->getNumeric()] = ($opped ? self::USERPRIV_OPED : 0) | ($voiced ? self::USERPRIV_VOICE : 0); + $this->userPrivs[$user->getNumeric()] = ($opped ? self::USERPRIV_OPED : 0) | ($halfopped ? self::USERPRIV_HALFOP : 0) | ($voiced ? self::USERPRIV_VOICE : 0); $user->addChannel($this); }