summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@arm.linux.org.uk>2016-06-05 14:24:20 +0100
committerRussell King <rmk+kernel@armlinux.org.uk>2016-06-05 17:47:57 +0100
commit4cbbe56c42b0354a7982d0a2a547880d28b3bc37 (patch)
tree9154e602c7bfc069bc0696b2197cebff99bbb702
parente536bd182da166c555e3e5747dffa31cc87317b9 (diff)
Configure operspy for linuxnet
-rw-r--r--contrib/m_operspy.c8
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 *);