mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 16:42:30 +02:00
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
This commit is contained in:
parent
95b94ed83c
commit
f354fe54c7
70 changed files with 381 additions and 438 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue