#include "module.h"
Go to the source code of this file.
Functions | |
| int | do_oper (User *u) |
| int | oper_list_callback (SList *slist, int number, void *item, va_list args) |
| int | oper_list (int number, NickCore *nc, User *u, int *sent_header) |
| void | myOperServHelp (User *u) |
| int | AnopeInit (int argc, char **argv) |
| void | AnopeFini (void) |
| 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_oper.c.
References c, CORE, createCommand(), do_oper(), Command_::help_param1, MOD_CONT, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddVersion(), moduleSetOperHelp(), moduleSetType(), myOperServHelp(), OPERSERV, and s_NickServ.
| int do_oper | ( | User * | u | ) |
The /os oper command.
| u | The user who issued the command | |
| MOD_CONT | to continue processing other modules, MOD_STOP to stop processing. |
Definition at line 70 of file os_oper.c.
References slist_::count, findnick(), nickcore_::flags, is_oper(), is_services_root(), slist_::list, match_wild_nocase(), MOD_CONT, nickalias_::nc, NI_SERVICES_ADMIN, NI_SERVICES_OPER, notice_lang(), NS_VERBOTEN, oper_list(), oper_list_callback(), 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 230 of file os_oper.c.
References nickcore_::display, notice_lang(), and s_OperServ.
Referenced by do_oper(), and oper_list_callback().
| int oper_list_callback | ( | SList * | slist, | |
| int | number, | |||
| void * | item, | |||
| va_list | args | |||
| ) |
1.5.7.1