#include "module.h"
Go to the source code of this file.
Functions | |
| static int | do_fantasy (int argc, char **argv) |
| int | AnopeInit (int argc, char **argv) |
| void | AnopeFini (void) |
| void AnopeFini | ( | void | ) |
Unload the module
Definition at line 43 of file bs_fantasy_unban.c.
| int AnopeInit | ( | int | argc, | |
| char ** | argv | |||
| ) |
Create the hook, and tell anope about it.
| argc | Argument count | |
| argv | Argument list |
Definition at line 25 of file bs_fantasy_unban.c.
References CORE, createEventHook(), do_fantasy(), EVENT_BOT_FANTASY, moduleAddAuthor(), moduleAddEventHook(), moduleAddVersion(), and moduleSetType().
| static int do_fantasy | ( | int | argc, | |
| char ** | argv | |||
| ) | [static] |
Handle unban fantasy command.
| argc | Argument count | |
| argv | Argument list |
Definition at line 54 of file bs_fantasy_unban.c.
References Anope_Free, CA_UNBAN, check_access(), common_unban(), common_unban_full(), cs_findchan(), finduser(), myStrGetToken(), user_::nick, and stricmp().
Referenced by AnopeInit().
1.7.1