From 295b3e7ba15a228948358bd6f23591a9cb5bf5a8 Mon Sep 17 00:00:00 2001 From: attilamolnar Date: Thu, 11 Apr 2013 21:58:23 +0200 Subject: Fix clang warning about IsOper() --- include/users.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 -- cgit v1.2.3