anope : How to hide services showing as online operators
Moderator: Supporters
anope : How to hide services showing as online operators
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.
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.
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.
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
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
-
- Head of Support
- Posts: 2085
- Joined: Tue Jun 15, 2004 8:50 pm
- Location: Chino Hills, CA, US
- Contact:
I have requested it to the anope team tons of times, but no one seems to want to make such a simple change...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
-
- Posts: 28
- Joined: Thu Jun 22, 2006 1:09 am
- Location: UK
Code: Select all
# HideStatsO [OPTIONAL]
#
# Setting this directive will make Services only show Stats o to
# IRC Operators.
#HideStatsO
Last edited by HelpChanneln00b on Thu Jun 22, 2006 2:16 am, edited 1 time in total.
Whats a help Channel without a n00b!
-
- Posts: 28
- Joined: Thu Jun 22, 2006 1:09 am
- Location: UK