#include "services.h"#include "messages.h"#include "modules.h"
Go to the source code of this file.
Functions | |
| void | add_ignore (const char *nick, time_t delta) |
| IgnoreData * | get_ignore (const char *nick) |
| int | delete_ignore (const char *nick) |
| int | clear_ignores () |
| int | split_buf (char *buf, char ***argv, int colon_special) |
| void | process () |
Variables | |
| int | allow_ignore = 1 |
| IgnoreData * | ignore |
| void add_ignore | ( | const char * | nick, | |
| time_t | delta | |||
| ) |
Add a mask/nick to the ignorelits for delta seconds.
| nick | Nick or (nick!)user to add to the ignorelist. | |
| delta | Seconds untill new entry is set to expire. |
Definition at line 34 of file process.c.
References alog(), BUFSIZE, debug, ignore_data::mask, ignore_data::next, ignore_data::prev, scalloc(), snprintf(), sstrdup(), stricmp(), and ignore_data::time.
Referenced by do_ignoreuser(), and m_privmsg().
| int clear_ignores | ( | ) |
Clear the ignorelist.
Definition at line 318 of file process.c.
References alog(), debug, ignore_data::mask, and ignore_data::next.
Referenced by do_ignoreuser().
| int delete_ignore | ( | const char * | nick | ) |
Deletes a given nick/mask from the ignorelist.
| nick | Nick or (nick!)user to delete from the ignorelist. |
Definition at line 226 of file process.c.
References alog(), BUFSIZE, debug, ignore_data::mask, ignore_data::next, ignore_data::prev, snprintf(), and stricmp().
Referenced by do_ignoreuser().
| IgnoreData* get_ignore | ( | const char * | nick | ) |
Retrieve an ignorance record for a nick or mask. If the nick isn't being ignored, we return NULL and if necesary flush the record from the in-core list (i.e. ignore timed out).
| nick | Nick or (nick!)user to look for on the ignorelist. |
Definition at line 118 of file process.c.
References allow_ignore, alog(), BUFSIZE, debug, finduser(), is_oper(), ignore_data::mask, match_usermask(), match_wild_nocase(), ignore_data::next, ignore_data::prev, snprintf(), and ignore_data::time.
Referenced by botchanmsgs(), chan_adduser2(), chan_set_correct_modes(), m_privmsg(), and memo_send().
| void process | ( | void | ) |
Definition at line 402 of file process.c.
References alog(), anope_set_mod_current_buffer(), current, debug, doCleanBuffer(), find_message(), Message_::func, handleModuleOperationQueue(), inbuf, MOD_CONT, mod_current_buffer, mod_current_module_name, Message_::mod_name, Message_::next, nickIsServices(), protocol_debug(), protocoldebug, split_buf(), sstrdup(), and strscpy().
Referenced by main().
| int split_buf | ( | char * | buf, | |
| char *** | argv, | |||
| int | colon_special | |||
| ) |
Definition at line 365 of file process.c.
References scalloc(), and srealloc().
Referenced by do_mass_mode(), do_os_mode(), event_message_process(), and process().
| int allow_ignore = 1 |
1.5.7.1