[IRCServices Coding] Operserv Admin and Oper list bug

Mark Hetherington mark at mhetherington.demon.co.uk
Wed Feb 6 15:06:46 PST 2002


Since version 5.0a19 (with the fix for ever increasing oper.db size),
services admins are now also listed under the services operators list.

Deleting a nickname from the services operator list which is duplicated in
this manner will also delete that person from the services admins list.

IIRC in previous versions, these lists were exclusive which I believe is the
correct operation for the lists.

It seems that
	    if (ngi->os_priv >= NP_SERVOPER)
should be
	    if (ngi->os_priv == NP_SERVOPER)

in modules/operserv/main.c function do_oper().

Mark.