Anope IRC Services

Anope Development => Feature Requests => Topic started by: Jumbo on May 29, 2008, 05:32:31 AM

Title: ChanServ's CLEAR OPS output
Post by: Jumbo on May 29, 2008, 05:32:31 AM
Quote
[12:28:21pm] * Now talking in #Test
[12:28:21pm] * ChanServ sets mode: +r
[12:28:21pm] * BotServSlave1 (botserv@localhost.net) has joined #Test
[12:28:21pm] * BotServSlave1 sets mode: +ao BotServSlave1 BotServSlave1
[12:28:21pm] * ChanServ sets mode: +q Test
[12:28:32pm] -> *ChanServ* CLEAR #Test OPS
[12:28:32pm] * services.localhost.net sets mode: -oo BotServSlave1 Test
[12:28:32pm] * services.localhost.net sets mode: -q Test
[12:28:32pm] * services.localhost.net sets mode: -a BotServSlave1
[12:28:32pm] -ChanServ- Mode +o has been cleared from channel #Test.
[12:28:32pm] * BotServSlave1 sets mode: +o BotServSlave1
[12:28:32pm] * BotServSlave1 sets mode: +a BotServSlave1


1. i think there is similar module doing this type of things already and i wonder can someone give a help to edit it so the output become ChanServ (or BotServSlave1 depends settings on BotServ) instead of services.localhost.net

2. can change it so that this command will not effect botserv's slaves? because it makes it looks not wise =/

[Edited on 29-5-2008 by Jumbo]

[Edited on 29-5-2008 by Jumbo]
Title:
Post by: Jan Milants on May 29, 2008, 11:25:38 AM
you see services.localhost.net removing all modes because it is actually the ircd that is removing all the modues after having been told todo so by services (so source is services.localhost.net). This means that services only has to send 3 commands to the ircd (remove all -o's, -a's and -q's) instead of sending every single mode change for every singly user.
Botserv bots are also deopped because to the ircd it s a normal client and it s the ircd removing all modes so services can't control it unless it would send out every single mode change.

If the ircd doesn't support svsmode_ucmode, services have no other option then to send every mode change to the ircd itself and then you will see either chanserv or the botserv bot doing it. This means however more work for anope.
So theoretically you could make a protocol module in which you disable svsmode_ucmode and anope will set the modes itself instead of letting the ircd handle it. However modifying the anope source is not supported here and mean you will lose all support as we cannot be asked to support bugs you may have introduced.