1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 22:06:39 +02:00

Changed User::IsRecognized check to default to secure

This commit is contained in:
Adam
2011-09-09 19:18:43 -04:00
parent 6bd31b0333
commit f844b0a161
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -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;