From 72906831dfaeaf19ce6f81f8af1ea7f49de6727b Mon Sep 17 00:00:00 2001 From: Russell King Date: Sun, 5 Jun 2016 14:24:20 +0100 Subject: Configure operspy for linuxnet --- contrib/m_operspy.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/contrib/m_operspy.c b/contrib/m_operspy.c index 63ca9cc..e542368 100644 --- a/contrib/m_operspy.c +++ b/contrib/m_operspy.c @@ -50,13 +50,13 @@ #include "hash.h" /* enable logging of OPERSPY functions */ -#define OPERSPY_LOG +#undef OPERSPY_LOG /* enable this to log all local/remote operspy usage to a logfile */ -#define OPERSPY_LOGFILE +#undef OPERSPY_LOGFILE /* enable this to send incoming operspy usage to connected +y (UMODE_SPY) opers */ -#define OPERSPY_NOTICE +#undef OPERSPY_NOTICE /* enable OPERSPY version of LIST */ #define OPERSPY_LIST @@ -76,7 +76,7 @@ /* enable OPERSPY version of TOPIC */ #define OPERSPY_TOPIC -#define IsOperspy(x) (HasUMode(x, UMODE_OPER) && MyClient(x) && HasUMode(x, UMODE_ADMIN)) +#define IsOperspy(x) (HasUMode(x, UMODE_OPER) && MyClient(x)) /* extensions for OPERSPY WHO */ static void do_who(struct Client *, struct Client *, char *, const char *); -- cgit