#include "module.h"
Go to the source code of this file.
Functions | |
| void | AnopeFini (void) |
| int | AnopeInit (int argc, char **argv) |
| int | do_userlist (User *u) |
| void | myOperServHelp (User *u) |
| void AnopeFini | ( | void | ) |
Unload the module
Definition at line 52 of file os_userlist.c.
| int AnopeInit | ( | int | argc, | |
| char ** | argv | |||
| ) |
Create the command, and tell anope about it.
| argc | Argument count | |
| argv | Argument list |
Definition at line 32 of file os_userlist.c.
References CORE, createCommand(), do_userlist(), MOD_CONT, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddVersion(), moduleSetOperHelp(), moduleSetType(), myOperServHelp(), and OPERSERV.
| int do_userlist | ( | User * | u | ) |
The /os userlist command.
| u | The user who issued the command | |
| MOD_CONT | to continue processing other modules, MOD_STOP to stop processing. |
Definition at line 73 of file os_userlist.c.
References anope_get_invis_mode(), BUFSIZE, common_get_vhost(), common_get_vident(), findchan(), match_wild_nocase(), MOD_CONT, user_::mode, user_::next, channel_::c_userlist::next, user_::nick, notice_lang(), s_OperServ, snprintf(), stricmp(), userlist, and channel_::users.
Referenced by AnopeInit().
| void myOperServHelp | ( | User * | u | ) |
Add the help response to anopes /os help output.
| u | The user who is requesting help |
1.5.1-20070107