X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=Uplink%2FP10_User.class.php;h=752e8be6f856cc1ca0680447c5d948cb3b7b3d63;hp=f18080a576a9fa5e5f58980acb6b1f178eeb4768;hb=811bc0c7a1f583fb624a0f8c3601146e063c5a25;hpb=c4ba095ecbd63c4152726371a761fe323a967f2f diff --git a/Uplink/P10_User.class.php b/Uplink/P10_User.class.php index f18080a..752e8be 100644 --- a/Uplink/P10_User.class.php +++ b/Uplink/P10_User.class.php @@ -1,22 +1,19 @@ . * * * ************************************************************************ * @@ -24,15 +21,6 @@ * * This class represents a IRC User * - ************************************************************************ - * accessable methods: - * - * static P10_User getUserByNum(String $numeric) - * searches and returns the User with the provided Numeric - * - * __construct(String $nick, String $numeric, P10_Server $server, int $connect_time, String $ident, String $realname, P10_ModeSet $modes) - * *** nothing to say here *** - * */ class P10_User { @@ -144,6 +132,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); }