From acd8cf7e1309da8946ca57847e665e3edf970249 Mon Sep 17 00:00:00 2001 From: Tom Smeding Date: Tue, 25 Aug 2020 23:59:22 +0200 Subject: weechat: Set server buffer type to "server" Useful for autosort rules --- weechat/tomsg.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'weechat') diff --git a/weechat/tomsg.c b/weechat/tomsg.c index 0f72159..e5577bc 100644 --- a/weechat/tomsg.c +++ b/weechat/tomsg.c @@ -776,6 +776,8 @@ static int connect_cb(const void *_p,void *hostname,int status,int _g,int fd,con conn->linebuf=malloc(conn->linebuf_sz); assert(conn->linebuf); + weechat_buffer_set(conn->buffer,"localvar_set_type","server"); + weechat_printf(conn->buffer,"Connected!"); weechat_hashtable_set(conntable,&fd,conn); -- cgit v1.2.3-70-g09d2