sending of tag messages and customisable maximum irc message length

This commit is contained in:
ailin-nemui 2019-08-12 23:41:18 +02:00
commit da9adec47f
6 changed files with 69 additions and 18 deletions

View file

@ -15,6 +15,8 @@
#define MAX_IRC_USER_TAGS_LEN 4094
#define CAP_LS_VERSION "302"
#define CAP_MAXLINE "oragono.io/maxline-2"
#define CAP_MESSAGE_TAGS "message-tags"
#define CAP_SASL "sasl"
#define CAP_MULTI_PREFIX "multi-prefix"
#define CAP_EXTENDED_JOIN "extended-join"
@ -58,6 +60,8 @@ struct _IRC_SERVER_CONNECT_REC {
struct _IRC_SERVER_REC {
#include <irssi/src/core/server-rec.h>
int max_message_len; /* Maximum message length, default = 510 = 512 - 2 (for CR+LF) */
/* For deciding if event should be redirected */
GSList *redirects;
GSList *redirect_queue; /* should be updated from redirect_next each time cmdqueue is updated */