#include "module.h"
Go to the source code of this file.
Functions | |
| int | akick_del (User *u, AutoKick *akick) |
| int | akick_del_callback (User *u, int num, va_list args) |
| int | akick_list (User *u, int index, ChannelInfo *ci, int *sent_header) |
| int | akick_list_callback (User *u, int num, va_list args) |
| int | akick_view (User *u, int index, ChannelInfo *ci, int *sent_header) |
| int | akick_view_callback (User *u, int num, va_list args) |
| void | AnopeFini (void) |
| int | AnopeInit (int argc, char **argv) |
| int | do_akick (User *u) |
| void | myChanServHelp (User *u) |
The /cs akick command.
| u | The user who issued the command | |
| MOD_CONT | to continue processing other modules, MOD_STOP to stop processing. |
Definition at line 70 of file cs_akick.c.
References AutoKick::addtime, AK_ISNICK, AK_USED, AutoKick::creator, AutoKick::flags, AutoKick::mask, AutoKick::nc, AutoKick::reason, and AutoKick::u.
Referenced by akick_del_callback(), and do_akick().
| int akick_del_callback | ( | User * | u, | |
| int | num, | |||
| va_list | args | |||
| ) |
Definition at line 93 of file cs_akick.c.
References chaninfo_::akick, akick_del(), and chaninfo_::akickcount.
Referenced by do_akick().
| int akick_list | ( | User * | u, | |
| int | index, | |||
| ChannelInfo * | ci, | |||
| int * | sent_header | |||
| ) |
Definition at line 107 of file cs_akick.c.
References AK_ISNICK, AK_USED, chaninfo_::akick, AutoKick::flags, getstring, AutoKick::mask, user_::na, chaninfo_::name, AutoKick::nc, notice_lang(), AutoKick::reason, s_ChanServ, and AutoKick::u.
Referenced by akick_list_callback().
| int akick_list_callback | ( | User * | u, | |
| int | num, | |||
| va_list | args | |||
| ) |
| int akick_view | ( | User * | u, | |
| int | index, | |||
| ChannelInfo * | ci, | |||
| int * | sent_header | |||
| ) |
Definition at line 135 of file cs_akick.c.
References AutoKick::addtime, AK_ISNICK, AK_STUCK, AK_USED, chaninfo_::akick, AutoKick::creator, AutoKick::flags, getstring, AutoKick::mask, user_::na, chaninfo_::name, AutoKick::nc, notice_lang(), AutoKick::reason, s_ChanServ, snprintf(), strftime_lang(), and AutoKick::u.
Referenced by akick_view_callback().
| int akick_view_callback | ( | User * | u, | |
| int | num, | |||
| va_list | args | |||
| ) |
| void AnopeFini | ( | void | ) |
Unload the module
Definition at line 48 of file cs_akick.c.
| int AnopeInit | ( | int | argc, | |
| char ** | argv | |||
| ) |
Create the command, and tell anope about it.
| argc | Argument count | |
| argv | Argument list |
Definition at line 28 of file cs_akick.c.
References CHANSERV, CORE, createCommand(), do_akick(), MOD_CONT, MOD_UNIQUE, moduleAddAuthor(), moduleAddCommand(), moduleAddVersion(), moduleSetChanHelp(), moduleSetType(), and myChanServHelp().
| int do_akick | ( | User * | u | ) |
Definition at line 181 of file cs_akick.c.
References AutoKick::addtime, AK_ISNICK, AK_STUCK, AK_USED, chaninfo_::akick, akick_del(), akick_del_callback(), chaninfo_::akickcount, chaninfo_::c, CA_AKICK, check_access(), check_kick(), CI_VERBOTEN, channel_::creation_time, AutoKick::creator, cs_findchan(), CSAutokickMax, do_kick(), ircdvars_::except, findchan(), findnick(), AutoKick::flags, chaninfo_::flags, ircd, is_excepted_mask(), is_services_admin(), AutoKick::mask, MOD_CONT, channel_::name, chaninfo_::name, AutoKick::nc, nickalias_::nc, channel_::c_userlist::next, user_::nick, notice_lang(), NS_VERBOTEN, process_numlist(), readonly, AutoKick::reason, s_ChanServ, scalloc(), split_usermask(), srealloc(), sstrdup(), nickalias_::status, stick_mask(), stricmp(), strspn(), syntax_error(), AutoKick::u, and channel_::users.
Referenced by AnopeInit().
| void myChanServHelp | ( | User * | u | ) |
Add the help response to anopes /cs help output.
| u | The user who is requesting help |
1.5.1-20070107