Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  


Pages: [1]   Go Down

Author Topic: anope_cmd_svsmode_chan  (Read 4386 times)

0 Members and 1 Guest are viewing this topic.

Jan Milants

  • Team
  • *
  • Offline Offline
  • Gender: Male
  • Posts: 1372
« 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
If you like me donate coins to 1FBmZVT4J8WAUMHKqpWhgNVj3XXnRN1cCk :)


  • Guest
(No subject)
« Reply #1 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]
Pages: [1]   Go Up