diff options
author | Russell King <rmk+kernel@arm.linux.org.uk> | 2016-06-05 14:24:20 +0100 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2019-07-21 20:59:35 +0100 |
commit | 72906831dfaeaf19ce6f81f8af1ea7f49de6727b (patch) | |
tree | db2bf558408fb824d8235890631ef59f06319bfb | |
parent | 766cf629aae7e9b4e58186022cd1c4f44af22601 (diff) |
Configure operspy for linuxnet
-rw-r--r-- | contrib/m_operspy.c | 8 |
1 files 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 *); |