#include "module.h"
Go to the source code of this file.
Functions | |
| void | myOperServHelp (User *u) |
| int | load_config (void) |
| int | reload_config (int argc, char **argv) |
| int | AnopeInit (int argc, char **argv) |
| void | AnopeFini (void) |
Variables | |
| Command * | c |
| void AnopeFini | ( | void | ) |
| int AnopeInit | ( | int | argc, | |
| char ** | argv | |||
| ) |
Create the command, and tell anope about it.
| argc | Argument count | |
| argv | Argument list |
For some unknown reason, do_logonnews is actaully defined in news.c we can look at moving it here later
Definition at line 30 of file os_logonnews.c.
References alog(), BUFSIZE, CORE, createCommand(), createEventHook(), do_logonnews(), EVENT_RELOAD, Command_::help_param1, is_services_admin(), MOD_CONT, MOD_ERR_OK, MOD_STOP, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddEventHook(), moduleAddVersion(), moduleSetOperHelp(), moduleSetType(), myOperServHelp(), NewsCount, OPERSERV, reload_config(), snprintf(), and sstrdup().
| int load_config | ( | void | ) |
| void myOperServHelp | ( | User * | u | ) |
Add the help response to anopes /os help output.
| u | The user who is requesting help |
| int reload_config | ( | int | argc, | |
| char ** | argv | |||
| ) |
Upon /os reload refresh the count
Definition at line 84 of file os_logonnews.c.
References BUFSIZE, EVENT_START, Command_::help_param1, MOD_CONT, NewsCount, snprintf(), sstrdup(), and stricmp().
Referenced by AnopeInit().
Definition at line 18 of file os_logonnews.c.
1.5.7.1