]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - extensions/no_oper_invis.c
aclocal is unneeded here.
[irc/rqf/shadowircd.git] / extensions / no_oper_invis.c
index 6d7ec28759662ec078dbf3305a5aed239290f7bb..46384465aad16b8c5a1567252731c6f76dc09342 100644 (file)
@@ -3,7 +3,7 @@
  * hidden_oper privilege).
  * -- jilles
  *
- * $Id: no_oper_invis.c 3215 2007-02-24 18:35:58Z jilles $
+ * $Id: no_oper_invis.c 3219 2007-02-24 19:34:28Z jilles $
  */
 
 #include "stdinc.h"
@@ -22,7 +22,7 @@ mapi_hfn_list_av1 noi_hfnlist[] = {
        { NULL, NULL }
 };
 
-DECLARE_MODULE_AV1(no_oper_invis, NULL, NULL, NULL, NULL, noi_hfnlist, "$Revision: 3215 $");
+DECLARE_MODULE_AV1(no_oper_invis, NULL, NULL, NULL, NULL, noi_hfnlist, "$Revision: 3219 $");
 
 static void
 h_noi_umode_changed(hook_data_umode_changed *hdata)
@@ -37,7 +37,5 @@ h_noi_umode_changed(hook_data_umode_changed *hdata)
                 * if they opered up while invisible -- jilles */
                if (hdata->oldumodes & UMODE_OPER)
                        sendto_one_notice(source_p, ":*** Opers may not set themselves invisible");
-               else /* XXX oper_up() should really do this */
-                       Count.invisi--;
        }
 }