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:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user