aboutsummaryrefslogtreecommitdiffstats
path: root/include/struct.h
diff options
context:
space:
mode:
authorGravatar Bram Matthys2007-04-25 12:43:20 +0000
committerGravatar Bram Matthys2007-04-25 12:43:20 +0000
commit043948990c8a1399f8d47d7ea0109af67a4a697b (patch)
treee5ef19f4b96e31a9591a2efca4e594adfea53312 /include/struct.h
parent- #0003212 patched by Grunt, regarding /userip <someone_else> seemingly (diff)
downloadunrealircd-043948990c8a1399f8d47d7ea0109af67a4a697b.tar.gz
unrealircd-043948990c8a1399f8d47d7ea0109af67a4a697b.tar.bz2
unrealircd-043948990c8a1399f8d47d7ea0109af67a4a697b.zip
- #0002846 reported by alex323, patched by WolfSage, regarding local ircop cannot issue CLOSE command
Diffstat (limited to 'include/struct.h')
-rw-r--r--include/struct.h2
1 files changed, 1 insertions, 1 deletions
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)