diff options
author | Timo Sirainen <cras@irssi.org> | 2001-11-02 01:05:14 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-11-02 01:05:14 +0000 |
commit | f354fe54c71485516b76fdd149891191993f60b5 (patch) | |
tree | 1231e8f5e1126c4fa9544a9ce40ce54ace6e05d1 /src/irc/core/irc-chatnets.h | |
parent | 95b94ed83c1372fae4eb14bf8109847bdc65a8d2 (diff) | |
download | irssi-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/core/irc-chatnets.h')
-rw-r--r-- | src/irc/core/irc-chatnets.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/irc/core/irc-chatnets.h b/src/irc/core/irc-chatnets.h index 5404c0d2..b8d6fb9f 100644 --- a/src/irc/core/irc-chatnets.h +++ b/src/irc/core/irc-chatnets.h @@ -14,7 +14,7 @@ #define IS_IRCNET(ircnet) IS_IRC_CHATNET(ircnet) #define IRCNET(ircnet) IRC_CHATNET(ircnet) -typedef struct { +struct _IRC_CHATNET_REC { #include "chatnet-rec.h" int max_cmds_at_once; int cmd_queue_speed; @@ -23,7 +23,7 @@ typedef struct { /* max. number of kicks/msgs/mode/whois per command */ int max_kicks, max_msgs, max_modes, max_whois; -} IRC_CHATNET_REC; +}; void ircnet_create(IRC_CHATNET_REC *rec); |