Merge pull request #1092 from ailin-nemui/outgoing-tags

sending of tag messages and customisable maximum irc message length
This commit is contained in:
ailin-nemui 2019-08-26 22:01:53 +02:00 committed by GitHub
commit 3f0afa91f3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 79 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"
@ -61,6 +63,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 */