Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  


Pages: [1]   Go Down

Author Topic: How to update the internal modes for a user?  (Read 3943 times)

0 Members and 1 Guest are viewing this topic.


  • Anope User
  • Offline Offline
  • Posts: 51
How to update the internal modes for a user?
« on: April 22, 2006, 02:49:55 PM »

*edit never mind found out *

How is this done?

I am just learning how to code modules, my module has a defined set of modes to give a user When I do a certain command on them. ie.

#define globalmodes "owghsW" /* Modes to give */

I then change there modes by doing.

send_cmd(NULL, "SVS2MODE %s +%s", nick, globalmodes);;

it all works but I would like to also update anopes internal mode list so services dont get desyned.

Any help in appricated.

[Edited on 25-4-2006 by therock247uk]
Pages: [1]   Go Up