diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index 972a39d56..708a8062c 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -47,8 +47,7 @@ User::User(const Anope::string &snick, const Anope::string &sident, const Anope: this->ident = sident; this->host = shost; this->vhost = svhost; - if (!svhost.empty()) - this->SetCloakedHost(svhost); + this->chost = svhost; this->ip = sip; this->server = sserver; this->realname = srealname; @@ -65,6 +64,7 @@ User::User(const Anope::string &snick, const Anope::string &sident, const Anope: Log(LOG_DEBUG) << "Duplicate user " << snick << " in user table?"; this->nc = NULL; + this->UpdateHost(); if (sserver) // Our bots are introduced on startup with no server { |