diff options
author | Adam <Adam@anope.org> | 2011-09-09 19:18:43 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2011-09-09 19:18:43 -0400 |
commit | f844b0a1614fd2fdd6ce941d545d6f6d4193a653 (patch) | |
tree | 6294e5bacc673b0de86a138cc41168759d67116f /src | |
parent | 6bd31b033323842b9d59411f7f99e92c8ec6803e (diff) |
Changed User::IsRecognized check to default to secure
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 81809e288..984e4c3ef 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -178,7 +178,7 @@ void User::SetRealname(const Anope::string &srealname) this->realname = srealname; NickAlias *na = findnick(this->nick); - if (na && (this->IsIdentified(true) || this->IsRecognized(true))) + if (na && (this->IsIdentified(true) || this->IsRecognized())) na->last_realname = srealname; Log(this, "realname") << "changed realname to " << srealname; @@ -501,7 +501,7 @@ void User::UpdateHost() if (na) OnAccess = is_on_access(this, na->nc); - if (na && (this->IsIdentified(true) || this->IsRecognized(true))) + if (na && (this->IsIdentified(true) || this->IsRecognized())) { Anope::string last_usermask = this->GetIdent() + "@" + this->GetDisplayedHost(); Anope::string last_realhost = this->GetIdent() + "@" + this->host; |