+
+ private function recv_account($from, $args) {
+ $user = P10_User::getUserByNum($args[0]);
+ if($user == null) {
+ trigger_error("Server tries to send an auth announce from an user that does not exist or was not found on recv_account.", E_USER_ERROR);
+ return;
+ }
+ $auth = $args[1];
+ $user->getModes()->setModes("+r ".$auth);
+ if($this->eventHandler)
+ $this->eventHandler->event_usermode($user, "+r ".$auth);
+ }