From: pk910 Date: Thu, 28 Jul 2011 08:21:39 +0000 (+0200) Subject: remove the user from the users array on quit X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=commitdiff_plain;h=7fcecdafa29b6fee35d4d84534b3f74bfbd0d39d remove the user from the users array on quit --- diff --git a/Uplink/P10_User.class.php b/Uplink/P10_User.class.php index f18080a..552c3e4 100644 --- a/Uplink/P10_User.class.php +++ b/Uplink/P10_User.class.php @@ -144,6 +144,7 @@ class P10_User { public function quit($reason) { $this->server->delUser($this); + unset(self::$static_users[$this->numeric]); foreach($this->channels as $channel) { $channel->quitUser($this); }