diff --git a/Changes b/Changes index ee319fe6d..19a6a1258 100644 --- a/Changes +++ b/Changes @@ -1457,3 +1457,4 @@ the network. - #0003212 patched by Grunt, regarding /userip seemingly shows your own (cloaked) IP. +- #0002846 reported by alex323, patched by WolfSage, regarding local ircop cannot issue CLOSE command diff --git a/include/struct.h b/include/struct.h index 1b7c86338..45cdaa089 100644 --- a/include/struct.h +++ b/include/struct.h @@ -1695,7 +1695,7 @@ struct liststruct { */ #define MyConnect(x) ((x)->fd != -256) #define MyClient(x) (MyConnect(x) && IsClient(x)) -#define MyOper(x) (MyConnect(x) && IsOper(x)) +#define MyOper(x) (MyConnect(x) && IsAnOper(x)) #ifdef CLEAN_COMPILE #define TStime() (time(NULL) + TSoffset)