anope : How to hide services showing as online operators

The UnrealIRCd team does not officially provide support for any services packages that you may be using or want to use. This forum is provided so the community can help each other with services issues.

Moderator: Supporters

Locked
siyavash
Posts: 27
Joined: Wed Jan 18, 2006 12:15 pm

anope : How to hide services showing as online operators

Post 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:
Ron2K

Post by Ron2K »

Unless there's a module for UnrealIRCd that can help you out, this isn't possible.
siyavash
Posts: 27
Joined: Wed Jan 18, 2006 12:15 pm

Post by siyavash »

Thank you!
sigchill
Posts: 6
Joined: Sat Apr 01, 2006 1:27 am

Post 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.
Syzop
UnrealIRCd head coder
Posts: 2117
Joined: Sat Mar 06, 2004 8:57 pm
Location: .nl
Contact:

Post 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
sigchill
Posts: 6
Joined: Sat Apr 01, 2006 1:27 am

Post by sigchill »

I've been using "+qS" for services on my network for over a year with no issues.
Am I missing something?
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post 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...
HelpChanneln00b
Posts: 28
Joined: Thu Jun 22, 2006 1:09 am
Location: UK

Post 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:
Last edited by HelpChanneln00b on Thu Jun 22, 2006 2:16 am, edited 1 time in total.
Whats a help Channel without a n00b! :P
Trystan
Posts: 29
Joined: Sun Mar 07, 2004 4:20 pm
Location: UTAH
Contact:

Post 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
"They never stop thinking of ways of harming America, and neither do we." - U.S. President George W. Bush
Stealth
Head of Support
Posts: 2085
Joined: Tue Jun 15, 2004 8:50 pm
Location: Chino Hills, CA, US
Contact:

Post by Stealth »

Trystan beat me to it :(

I demand he deletes his post and lets me post!
HelpChanneln00b
Posts: 28
Joined: Thu Jun 22, 2006 1:09 am
Location: UK

Post 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"; ?
Whats a help Channel without a n00b! :P
Jobe
Official supporter
Posts: 1180
Joined: Wed May 03, 2006 7:09 pm
Location: United Kingdom

Post 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.
Locked