mirror of
https://github.com/irssi/irssi.git
synced 2026-08-09 11:50:10 +02:00
bind protocol-specific commands. Added #define command_bind_irc() for easier access. CMD_IRC_SERVER(server) check should be done at the beginning of each command requiring IRC server as active server, it handles it correctly the cases when it is not. Did some other cleanups as well. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1955 dbcabf3a-b0e7-0310-adc4-f8d773084564
13 lines
229 B
C
13 lines
229 B
C
#include "common.h"
|
|
#include "irc.h"
|
|
|
|
typedef struct {
|
|
/* Flood protection */
|
|
GHashTable *floodlist;
|
|
|
|
/* Auto ignore list */
|
|
GSList *ignorelist;
|
|
time_t ignore_lastcheck;
|
|
} MODULE_SERVER_REC;
|
|
|
|
#define MODULE_NAME "irc/flood"
|