summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/users.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/users.cpp b/src/users.cpp
index 5ec141718..c4c9fe9d1 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -1528,7 +1528,7 @@ bool User::ChangeName(const char* gecos)
bool User::ChangeDisplayedHost(const char* shost)
{
- if (!this->dhost.compare(shost))
+ if (dhost == shost)
return true;
if (IS_LOCAL(this))