X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=include%2Fmodules.h;h=585bd98d9a89e8800bcd1ca45a31343f13704d06;hb=7d7250484c352c13830e63ae41ee8faae40a9bd5;hp=79c12a9cd9562e1aff59c802942c42fea3292084;hpb=4b856bda135a08e800b96c970a10b0b6a34d433a;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/include/modules.h b/include/modules.h index 79c12a9cd..585bd98d9 100644 --- a/include/modules.h +++ b/include/modules.h @@ -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