Anope IRC Services

Anope Development => Modules => Topic started by: Jan Milants on April 14, 2006, 10:50:22 AM

Title: anope_cmd_svsmode_chan
Post by: Jan Milants on April 14, 2006, 10:50:22 AM
not sure whether this is the right place to ask this, but it s for a module i m making so i guess i ll ask here...

why does anope sometimes use anope_cmd_svsmode_chan()  instead of anope_cmd_mode()  when anope_cmd_svsmode_chan() sets the mode from the services server itself and not one of its clients. if this is the only difference i certainly don't see the point since imo it s much uglier
Title:
Post by: AlexTepes on April 18, 2006, 02:15:25 PM
Its because all +o/+a/+q Are overrides, Making it the one taking over the access to channels etc, So of course it uses the other modules +a +q are server side commands.
Thin of it as

anope_cmd_svsmode_chan() = /samode

anope_cmd_mode() /mode


[Edited on 18-4-2006 by AlexTepes]