bs_fantasy.c File Reference

#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)


Function Documentation

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.

Parameters:
argc Argument count
argv Argument list
Returns:
MOD_CONT to allow the module, MOD_STOP to stop it

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.

Parameters:
argc Argument count
argv Argument list
Returns:
MOD_CONT or MOD_STOP

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().


Generated on Sun Dec 30 09:26:55 2007 for Anope by  doxygen 1.5.1-20070107