#include "module.h"
Go to the source code of this file.
Functions | |
| static int | do_off (User *u) |
| static void | myHostServHelp (User *u) |
| int | AnopeInit (int argc, char **argv) |
| void | AnopeFini (void) |
| int AnopeInit | ( | int | argc, | |
| char ** | argv | |||
| ) |
Create the off command, and tell anope about it.
| argc | Argument count | |
| argv | Argument list |
Definition at line 26 of file hs_off.c.
References c, CORE, createCommand(), do_off(), HOSTSERV, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddVersion(), moduleSetHostHelp(), moduleSetType(), and myHostServHelp().
| static int do_off | ( | User * | u | ) | [static] |
The /hs off command.
| u | The user who issued the command | |
| MOD_CONT | to continue processing other modules, MOD_STOP to stop processing. |
Definition at line 66 of file hs_off.c.
References anope_cmd_vhost_off(), findnick(), getvHost(), getvIdent(), user_::nick, notice_lang(), NS_IDENTIFIED, s_HostServ, nickalias_::status, and user_::vhost.
Referenced by AnopeInit().
| static void myHostServHelp | ( | User * | u | ) | [static] |
Add the help response to anopes /hs help output.
| u | The user who is requesting help |
Definition at line 56 of file hs_off.c.
References notice_lang(), and s_HostServ.
1.7.1