summaryrefslogtreecommitdiff
path: root/src/irc/flood
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-11-02 01:05:14 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-11-02 01:05:14 +0000
commitf354fe54c71485516b76fdd149891191993f60b5 (patch)
tree1231e8f5e1126c4fa9544a9ce40ce54ace6e05d1 /src/irc/flood
parent95b94ed83c1372fae4eb14bf8109847bdc65a8d2 (diff)
downloadirssi-f354fe54c71485516b76fdd149891191993f60b5.zip
Moved some stuff from irc to core. Added command_bind_proto() function to
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
Diffstat (limited to 'src/irc/flood')
-rw-r--r--src/irc/flood/module.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irc/flood/module.h b/src/irc/flood/module.h
index 9abdbf41..fc7eceeb 100644
--- a/src/irc/flood/module.h
+++ b/src/irc/flood/module.h
@@ -1,4 +1,5 @@
#include "common.h"
+#include "irc.h"
typedef struct {
/* Flood protection */