Page 1 of 1

anope : How to hide services showing as online operators

Posted: Wed Mar 15, 2006 2:27 am
by siyavash
Is there anyway to hide the anope services and prevent them to show as opers ? "10 operator(s) online" <--- that I mean. I have only "one" real person but 9 others are services. :oops:

Posted: Thu Mar 16, 2006 5:57 am
by Ron2K
Unless there's a module for UnrealIRCd that can help you out, this isn't possible.

Posted: Thu Mar 16, 2006 9:38 am
by siyavash
Thank you!

Posted: Sat Apr 01, 2006 1:53 am
by sigchill
My guess is you're using Anope 1.7.x branch.
If that is the case, open anope-1.7.x/src/protocol/unreal32.c
with a proper editor and change these lines:

"+oS", /* nickserv mode */
"+oS", /* chanserv mode */
"+oS", /* memoserv mode */
"+oS", /* hostserv mode */
"+ioS", /* operserv mode */
"+oS", /* botserv mode */
"+oS", /* helpserv mode */
"+ioS", /* Global mode */
"+oS", /* nickserv alias mode */
"+oS", /* chanserv alias mode */
"+oS", /* memoserv alias mode */
"+ioS", /* hostserv alias mode */
"+ioS", /* operserv alias mode */
"+oS", /* botserv alias mode */
"+oS", /* helpserv alias mode */
"+ioS", /* Global alias mode */

Replace "oS" with "S", save, recompile and you should be fine.
If you plan to use 3rd party modules like cs_inhabitregistered
I would suggest you add "qS" instead of just "S", at least for
ChanServ. This would prevent it from being kicked from channels.

Posted: Sun Apr 02, 2006 10:38 pm
by Syzop
You are at the right place but... you should add 'H', not remove 'o' (so to make it, for example, "+oSH".

Maybe someone could suggest the anope guys to make this an option ;p. It has been requested quite a lot, and I'm not planning to do some weird kind of stuff on the ircd-side when services can simply set their psuedoclients +H

Posted: Mon Apr 03, 2006 6:40 am
by sigchill
I've been using "+qS" for services on my network for over a year with no issues.
Am I missing something?

Posted: Wed Apr 05, 2006 11:30 pm
by Stealth
Syzop wrote:Maybe someone could suggest the anope guys to make this an option ;p. It has been requested quite a lot, and I'm not planning to do some weird kind of stuff on the ircd-side when services can simply set their psuedoclients +H
I have requested it to the anope team tons of times, but no one seems to want to make such a simple change...

Posted: Thu Jun 22, 2006 1:58 am
by HelpChanneln00b

Code: Select all

# HideStatsO [OPTIONAL]
#
#    Setting this directive will make Services only show Stats o to
#    IRC Operators.

#HideStatsO
try to read the configuration file :wink:

Posted: Thu Jun 22, 2006 2:03 am
by Trystan
HelpChanneln00b : maybe you should read.. they wanted to remove them from /lusers and what you posted will only tell anope to not show whom is oped when asked for a /stats o

Posted: Thu Jun 22, 2006 2:05 am
by Stealth
Trystan beat me to it :(

I demand he deletes his post and lets me post!

Posted: Thu Jun 22, 2006 2:13 am
by HelpChanneln00b
:oops: dang :/

sorry miss read

/me hides o.0

i know sometimes Global user count can sometimes be a bit funny
have you though about set::oper-only-stats "o"; ?

Posted: Thu Jun 22, 2006 11:10 am
by Jobe
Again set::oper-only-stats "o"; only prevents non-opers from using /stats o on the IRCd on which it is set but does not prevent services users from being counted as opers.