Anope IRC Services

Please login or register.

Login with username, password and session length
Advanced search  

News:

Pages: [1]   Go Down

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

0 Members and 1 Guest are viewing this topic.

therock247uk

  • Anope User
  • Offline Offline
  • Posts: 51
    • http://www.247fixes.com/
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]
Logged
Pages: [1]   Go Up