cs_drop.c File Reference

#include "module.h"

Include dependency graph for cs_drop.c:

Go to the source code of this file.

Functions

int do_drop (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_drop.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_drop.c.

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

int do_drop ( User u  ) 

The /cs command.

Parameters:
u The user who issued the command
MOD_CONT to continue processing other modules, MOD_STOP to stop processing.
The /ns drop command.
Parameters:
u The user who issued the command
MOD_CONT to continue processing other modules, MOD_STOP to stop processing.

Definition at line 68 of file cs_drop.c.

References ACCESS_FOUNDER, alog(), anope_cmd_global(), anope_cmd_mode(), anope_cmd_unsqline(), chaninfo_::c, ircdvars_::chansqline, CI_SECUREFOUNDER, CI_SUSPENDED, CI_VERBOTEN, cs_findchan(), delchan(), nickcore_::display, EVENT_CHAN_DROP, chaninfo_::flags, chaninfo_::founder, get_access(), user_::host, ircd, is_founder(), is_real_founder(), is_services_admin(), MOD_CONT, channel_::mode, chaninfo_::name, user_::nick, notice_lang(), readonly, ircdvars_::regmode, s_ChanServ, send_event(), syntax_error(), user_::username, WallDrop, 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