#include "module.h"
Go to the source code of this file.
Functions | |
| int | do_modinfo (User *u) |
| void | myOperServHelp (User *u) |
| int | showModuleMsgLoaded (MessageHash *msgList, char *mod_name, User *u) |
| int | showModuleCmdLoaded (CommandHash *cmdList, char *mod_name, User *u) |
| int | AnopeInit (int argc, char **argv) |
| void | AnopeFini (void) |
| void AnopeFini | ( | void | ) |
Unload the module
Definition at line 48 of file os_modinfo.c.
| int AnopeInit | ( | int | argc, | |
| char ** | argv | |||
| ) |
Create the command, and tell anope about it.
| argc | Argument count | |
| argv | Argument list |
Definition at line 29 of file os_modinfo.c.
References c, CORE, createCommand(), do_modinfo(), MOD_CONT, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddVersion(), moduleSetOperHelp(), moduleSetType(), myOperServHelp(), and OPERSERV.
| int do_modinfo | ( | User * | u | ) |
The /os command.
| u | The user who issued the command | |
| MOD_CONT | to continue processing other modules, MOD_STOP to stop processing. |
Definition at line 68 of file os_modinfo.c.
References Module_::author, BOTSERV, CHANSERV, findModule(), HELPSERV, HOSTSERV, IRCD, MAX_CMD_HASH, MEMOSERV, MOD_CONT, Module_::name, NICKSERV, notice_lang(), OPERSERV, s_OperServ, showModuleCmdLoaded(), showModuleMsgLoaded(), strftime_lang(), syntax_error(), Module_::time, and Module_::version.
Referenced by AnopeInit().
| void myOperServHelp | ( | User * | u | ) |
Add the help response to anopes /os help output.
| u | The user who is requesting help |
| int showModuleCmdLoaded | ( | CommandHash * | cmdList, | |
| char * | mod_name, | |||
| User * | u | |||
| ) |
Definition at line 106 of file os_modinfo.c.
References CommandHash_::c, c, current, Command_::mod_name, Command_::name, Command_::next, CommandHash_::next, notice_lang(), s_OperServ, Command_::service, and stricmp().
Referenced by do_modinfo().
| int showModuleMsgLoaded | ( | MessageHash * | msgList, | |
| char * | mod_name, | |||
| User * | u | |||
| ) |
Definition at line 124 of file os_modinfo.c.
References MessageHash_::m, Message_::mod_name, Message_::name, Message_::next, MessageHash_::next, notice_lang(), s_OperServ, and stricmp().
Referenced by do_modinfo().
1.5.7.1