1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 13:16:38 +02:00

Fix a few problems found by Cronusa and KindOne

This commit is contained in:
Adam
2012-10-01 04:35:36 -04:00
parent b19a3af4db
commit f14a3dfb8a
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -178,7 +178,7 @@ const Anope::string &User::GetCloakedHost() const
const Anope::string &User::GetUID() const
{
if (!this->uid.empty())
if (!this->uid.empty() && ircdproto->RequiresID)
return this->uid;
else
return this->nick;