mirror of
https://github.com/anope/anope.git
synced 2026-06-27 21:46:37 +02:00
Simplify several boolean expressions.
This commit is contained in:
+1
-1
@@ -443,7 +443,7 @@ bool User::IsIdentified(bool check_nick) const
|
||||
return na && *na->nc == *this->nc;
|
||||
}
|
||||
|
||||
return this->nc ? true : false;
|
||||
return this->nc;
|
||||
}
|
||||
|
||||
bool User::IsRecognized(bool check_secure) const
|
||||
|
||||
Reference in New Issue
Block a user