Commits

Anonymous committed 34d120f

[svn] no_oper_invis: decrement invisible count when clearing
invisible on a local client who has just opered up
oper_up() should really do this

  • Participants
  • Parent commits 0916eea

Comments (0)

Files changed (3)

+jilles      2007/02/21 19:52:51 UTC	(20070221-3213)
+  Log:
+  Put "End of Channel Quiet List" instead of
+  "End of Channel Ban List" for a +q list.
+  Due to client restrictions the numerics for
+  quiet lists must be the same as for ban lists.
+  
+
+  Changes:	Modified:
+  +4 -1		trunk/src/chmode.c (File Modified) 
+
+
 jilles      2007/02/20 00:34:28 UTC	(20070220-3211)
   Log:
   Port over ratbox 2.2 r23507, r23624, r23626 (jilles/anfl):

File extensions/no_oper_invis.c

  * hidden_oper privilege).
  * -- jilles
  *
- * $Id: no_oper_invis.c 1086 2006-03-17 23:20:30Z jilles $
+ * $Id: no_oper_invis.c 3215 2007-02-24 18:35:58Z jilles $
  */
 
 #include "stdinc.h"
 	{ NULL, NULL }
 };
 
-DECLARE_MODULE_AV1(no_oper_invis, NULL, NULL, NULL, NULL, noi_hfnlist, "$Revision: 1086 $");
+DECLARE_MODULE_AV1(no_oper_invis, NULL, NULL, NULL, NULL, noi_hfnlist, "$Revision: 3215 $");
 
 static void
 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--;
 	}
 }

File include/serno.h

-#define SERNO "20070220-3211"
+#define SERNO "20070221-3213"