diff options
Diffstat (limited to 'include')
-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 |