diff options
author | attilamolnar <attilamolnar@hush.com> | 2013-04-11 21:58:23 +0200 |
---|---|---|
committer | attilamolnar <attilamolnar@hush.com> | 2013-04-11 21:58:23 +0200 |
commit | 295b3e7ba15a228948358bd6f23591a9cb5bf5a8 (patch) | |
tree | 9dccb8775977852976cefb1edb3a0f477bfbbd2b | |
parent | 77e8e0bccac5cdd4f3cfcba9ea07e7b4fd80dec2 (diff) |
Fix clang warning about IsOper()
-rw-r--r-- | include/users.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/users.h b/include/users.h index 4d3013ae8..c5c936c13 100644 --- a/include/users.h +++ b/include/users.h @@ -421,7 +421,7 @@ class CoreExport User : public Extensible * oper information can be obtained from User::oper * @return True if the user is an oper, false otherwise */ - bool IsOper() const { return (oper != NULL); } + bool IsOper() const { return oper; } /** Returns true if a notice mask is set * @param sm A notice mask character to check |