diff options
author | Adam <Adam@anope.org> | 2012-10-01 04:35:36 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-10-01 04:35:36 -0400 |
commit | f14a3dfb8a4cc9da7b5066ac8320265d54dba177 (patch) | |
tree | e024da12840263dc3295fea16c786000d33b66ef /src/users.cpp | |
parent | b19a3af4db6fefdf3d94963163eb00e7133c8046 (diff) |
Fix a few problems found by Cronusa and KindOne
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 2 |
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; |