Anope IRC Services

Anope Development => Modules => Topic started by: therock247uk on April 22, 2006, 02:49:55 PM

Title: How to update the internal modes for a user?
Post by: therock247uk 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]