]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
fix typo
authorFruitieX <rasse@rasse-laptop.(none)>
Tue, 26 Oct 2010 14:00:21 +0000 (17:00 +0300)
committerFruitieX <rasse@rasse-laptop.(none)>
Tue, 26 Oct 2010 14:00:21 +0000 (17:00 +0300)
qcsrc/server/cl_client.qc
qcsrc/server/miscfunctions.qc

index 51ab37a4c8b708cdcd82556c55c5b3379b3535da..a5ec05c02fb6b75ac690f03a5b8663076d0e2e4d 100644 (file)
@@ -3030,7 +3030,7 @@ void PlayerPostThink (void)
        {
                if(!self.stored_netname)
                        self.stored_netname = strzone(uid2name(self.crypto_idfp));
-               if(self.stored_netname != self.stored_netname)
+               if(self.stored_netname != self.netname)
                {
                        db_put(ServerProgsDB, strcat("uid2name", self.crypto_idfp), self.netname);
                        strunzone(self.stored_netname);
index 7eb518caac41d044fb9cb44c64f25531020344ae..b71eadbf38722cb17186273175c966ac4546f9fb 100644 (file)
@@ -2068,10 +2068,6 @@ void print_to(entity e, string s)
 }
 
 string uid2name(string myuid) {
-       // TODO TODO TODO!
-       // store uid in separate uid2name db IF CLIENT ALLOWS THIS
-       // - make it global for all mods
-       // perhaps show 10 first digits here if missing name?
        string s;
        s = db_get(ServerProgsDB, strcat("uid2name", myuid));