#include "services.h"
#include "chanserv.h"
#include "nickserv.h"
#include "macro.h"
#include "queue.h"
#include "hash.h"
#include "db.h"
#include "chantrig.h"
Go to the source code of this file.
Functions | |
ChanTrigger * | FindChannelTrigger (const char *name) |
Find a trigger associated with channel X, if there is one. | |
void | DelChannelTrigger (ChanTrigger *ct) |
Delete trigger ct. | |
void | AddChannelTrigger (ChanTrigger *ct) |
Add a new channel trigger to the list. | |
void | FreeChannelTrigger (ChanTrigger *ct) |
Free a ChanTrigger object. | |
ChanTrigger * | MakeChannelTrigger (const char *cn) |
Create a new channel trigger object for target name. | |
unsigned int | ChanMaxAkicks (RegChanList *cn) |
Maximum number ops for this channel. | |
unsigned int | ChanMaxOps (RegChanList *cn) |
Definition in file chantrig.c.
|
Maximum number akicks for this channel Definition at line 137 of file chantrig.c. References FindChannelTrigger(), _ChanTrigInfo::op_trigger, and OpLimit. |
|
Delete trigger ct. ct Pointer to trigger to delete (null is ok)
Definition at line 73 of file chantrig.c. References LIST_REMOVE. |
|
Find a trigger associated with channel X, if there is one. name Name of the channel
Definition at line 53 of file chantrig.c. References _ChanTrigInfo::chan_name, ChanTrigHash, getHashKey(), LIST_FIRST, and LIST_NEXT. Referenced by ChanMaxAkicks(), and ChanMaxOps(). |