Bugs: Global OPs cannot set global bans

Kylus kylus at arangoth.org
Wed May 3 16:50:03 CST 2006

Hi there, eggdrop folks!

It would seem I found a bug in cmdschan.c that prevents Global OPS from
setting a global ban. I wasn't sure if this was a bug or expected
behavior, but it did not seem to make sense to me (if someone has global
+o why prevent it?). In the 1.6.x tree (at least as far back as 1.6.10 and
in .18RC1) around line 48 of cmdschan.c, I believe that:

     if (chname || !(u->flags & USER_MASTER)) {

should be changed to:

      if (chname || !(u->flags & USER_OP)) {

to let global +o set the bans without having to change their console to
every channel they're opped on. As another note, this seems to also still
exist in the 1.9 tree as well.

Hope this helps! Thanks for keeping the project going!

#blkdragon*inn on Sorcery.Net

More information about the Bugs mailing list