]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - include/modules.h
First phase of conversion to dynamic limits on all the lengths, configured via the...
[user/henk/code/inspircd.git] / include / modules.h
index 79c12a9cd9562e1aff59c802942c42fea3292084..585bd98d9a89e8800bcd1ca45a31343f13704d06 100644 (file)
@@ -238,9 +238,9 @@ do { \
 /** Is a module created user */
 #define IS_MODULE_CREATED(x) (x->GetFd() == FD_MAGIC_NUMBER)
 /** Is an oper */
-#define IS_OPER(x) (x->oper.empty())
+#define IS_OPER(x) (!x->oper.empty())
 /** Is away */
-#define IS_AWAY(x) (x->awaymsg.empty())
+#define IS_AWAY(x) (!x->awaymsg.empty())
 
 /** Holds a module's Version information.
  *  The four members (set by the constructor only) indicate details as to the version number