diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/modules.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/include/modules.h b/include/modules.h index 737081b7e..328c6f96e 100644 --- a/include/modules.h +++ b/include/modules.h @@ -302,7 +302,12 @@ MDE int moduleAddRegHelp(Command * c, int (*func) (User * u)); MDE int moduleAddOperHelp(Command * c, int (*func) (User * u)); MDE int moduleAddAdminHelp(Command * c, int (*func) (User * u)); MDE int moduleAddRootHelp(Command * c, int (*func) (User * u)); -MDE void moduleSetType(MODType type); + +/** Sets a given type (CORE,PROTOCOL,3RD etc) on a module. + * @param m The module to set the type for + * @param type The type to set the module as. + */ +MDE void moduleSetType(Module *m, MODType type); extern MDE Module *mod_current_module; extern MDE const char *mod_current_module_name; extern MDE char *mod_current_buffer; |
