[IRCServices Coding] Operserv Admin and Oper list bug

Andrew Church achurch at achurch.org
Thu Feb 7 14:51:52 PST 2002


     Fixed (the fix below is wrong but the report is right).

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/

>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.
>
>------------------------------------------------------------------
>To unsubscribe or change your subscription options, visit:
>http://www.ircservices.za.net/mailman/listinfo/ircservices-coding