cs_kick.c File Reference

#include "module.h"

Include dependency graph for cs_kick.c:

Go to the source code of this file.

Functions

int do_cs_kick (User *u)
void myChanServHelp (User *u)
int AnopeInit (int argc, char **argv)
void AnopeFini (void)


Function Documentation

void AnopeFini ( void   ) 

Unload the module

Definition at line 47 of file cs_kick.c.

int AnopeInit ( int  argc,
char **  argv 
)

Create the command, 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 27 of file cs_kick.c.

References c, CHANSERV, CORE, createCommand(), do_cs_kick(), MOD_CONT, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddVersion(), moduleSetChanHelp(), moduleSetType(), and myChanServHelp().

int do_cs_kick ( User u  ) 

The /cs kick command.

Parameters:
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 cs_kick.c.

References anope_cmd_kick(), c, CA_KICK, CA_KICKME, CA_SIGNKICK, user_::chans, check_access(), channel_::ci, CI_PEACE, CI_SIGNKICK, CI_SIGNKICK_LEVEL, CI_VERBOTEN, do_kick(), findchan(), finduser(), chaninfo_::flags, get_access(), is_on_chan(), is_protected(), MOD_CONT, channel_::name, chaninfo_::name, Command_::next, user_::nick, notice_lang(), s_ChanServ, stricmp(), and whosends.

Referenced by AnopeInit().

void myChanServHelp ( User u  ) 

Add the help response to anopes /cs help output.

Parameters:
u The user who is requesting help


Generated on Sun Oct 5 09:07:02 2008 for Anope by  doxygen 1.5.7.1