#include "module.h"
Go to the source code of this file.
Functions | |
| int | admin_list (int number, NickCore *nc, User *u, int *sent_header) |
| int | admin_list_callback (SList *slist, int number, void *item, va_list args) |
| void | AnopeFini (void) |
| int | AnopeInit (int argc, char **argv) |
| int | do_admin (User *u) |
| void | myOperServHelp (User *u) |
Definition at line 236 of file os_admin.c.
References nickcore_::display, notice_lang(), and s_OperServ.
Referenced by admin_list_callback(), and do_admin().
| int admin_list_callback | ( | SList * | slist, | |
| int | number, | |||
| void * | item, | |||
| va_list | args | |||
| ) |
| void AnopeFini | ( | void | ) |
Unload the module
Definition at line 51 of file os_admin.c.
| int AnopeInit | ( | int | argc, | |
| char ** | argv | |||
| ) |
Create the command, and tell anope about it.
| argc | Argument count | |
| argv | Argument list |
Definition at line 30 of file os_admin.c.
References CORE, createCommand(), do_admin(), Command_::help_param1, MOD_CONT, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddVersion(), moduleSetOperHelp(), moduleSetType(), myOperServHelp(), OPERSERV, and s_NickServ.
| int do_admin | ( | User * | u | ) |
The /os admin command.
| u | The user who issued the command | |
| MOD_CONT | to continue processing other modules, MOD_STOP to stop processing. |
Definition at line 72 of file os_admin.c.
References admin_list(), admin_list_callback(), slist_::count, findnick(), nickcore_::flags, is_services_root(), slist_::list, match_wild_nocase(), MOD_CONT, nickalias_::nc, NI_SERVICES_ADMIN, NI_SERVICES_OPER, notice_lang(), NS_VERBOTEN, readonly, s_OperServ, servadmins, servopers, skeleton, slist_add(), slist_clear(), slist_delete(), slist_delete_range(), slist_enum(), slist_indexof(), nickalias_::status, stricmp(), strspn(), and syntax_error().
Referenced by AnopeInit().
| void myOperServHelp | ( | User * | u | ) |
Add the help response to anopes /os help output.
| u | The user who is requesting help |
Definition at line 62 of file os_admin.c.
References notice_lang(), and s_OperServ.
Referenced by AnopeInit().
1.5.1-20070107