diff options
| author | Adam <Adam@drink-coca-cola.info> | 2010-05-17 23:48:18 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-06-18 21:03:43 -0400 |
| commit | cab6fcc82d2d184339bfe5ed0eba22482a404ad8 (patch) | |
| tree | 29df26a375cbaa29d0c6023ad3478b28a826c307 /src/modules.c | |
| parent | 17ab4104005cc5098d9152e6c90d54977222dd06 (diff) | |
Added a founder access level used to determin who is a channel founder. This is completely independant of the owner levels
Diffstat (limited to 'src/modules.c')
| -rw-r--r-- | src/modules.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules.c b/src/modules.c index 822d04ea2..0044bcc56 100644 --- a/src/modules.c +++ b/src/modules.c @@ -166,6 +166,7 @@ int Module::AddCommand(BotInfo *bi, Command *c) if (!bi || !c) return MOD_ERR_PARAMS; + c->module = this; c->service = bi; std::pair<std::map<ci::string, Command *>::iterator, bool> it = bi->Commands.insert(std::make_pair(c->name, c)); |
