#include "module.h"
Go to the source code of this file.
Functions | |
| int | do_chanlist (User *u) |
| void | myOperServHelp (User *u) |
| int | AnopeInit (int argc, char **argv) |
| void | AnopeFini (void) |
| void AnopeFini | ( | void | ) |
Unload the module
Definition at line 51 of file os_chanlist.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_chanlist.c.
References c, CORE, createCommand(), do_chanlist(), is_services_oper(), MOD_CONT, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddVersion(), moduleSetOperHelp(), moduleSetType(), myOperServHelp(), and OPERSERV.
| int do_chanlist | ( | User * | u | ) |
The /os chanlist command.
| u | The user who issued the command | |
| MOD_CONT | to continue processing other modules, MOD_STOP to stop processing. |
Definition at line 71 of file os_chanlist.c.
References anope_get_private_mode(), anope_get_secret_mode(), c, chan_get_modes(), chanlist, user_::chans, finduser(), match_wild_nocase(), MOD_CONT, channel_::mode, channel_::name, channel_::next, user_::u_chanlist::next, user_::nick, notice_lang(), s_OperServ, stricmp(), channel_::topic, and channel_::usercount.
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.7.1