summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index a992d8d04..a68c03739 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -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;