#include "module.h"
Go to the source code of this file.
Functions | |
| void | AnopeFini (void) |
| int | AnopeInit (int argc, char **argv) |
| int | do_fantasy (int argc, char **argv) |
| void AnopeFini | ( | void | ) |
Unload the module
Definition at line 42 of file bs_fantasy.c.
| int AnopeInit | ( | int | argc, | |
| char ** | argv | |||
| ) |
Create the hook, and tell anope about it.
| argc | Argument count | |
| argv | Argument list |
Definition at line 26 of file bs_fantasy.c.
References CORE, createEventHook(), do_fantasy(), EVENT_BOT_FANTASY, MOD_CONT, moduleAddAuthor(), moduleAddEventHook(), moduleAddVersion(), and moduleSetType().
| int do_fantasy | ( | int | argc, | |
| char ** | argv | |||
| ) |
Handle unban fantasy command.
| argc | Argument count | |
| argv | Argument list |
Definition at line 53 of file bs_fantasy.c.
References bot_raw_mode(), csmodeutil_::bsname, check_access(), cs_findchan(), csmodeutils, finduser(), ircdvars_::halfop, ircd, csmodeutil_::level, csmodeutil_::levelself, MOD_CONT, csmodeutil_::mode, user_::nick, and stricmp().
Referenced by AnopeInit().
1.5.1-20070107