summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 *);