aboutsummaryrefslogtreecommitdiff
path: root/weechat
diff options
context:
space:
mode:
Diffstat (limited to 'weechat')
-rw-r--r--weechat/tomsg.c2
1 files changed, 2 insertions, 0 deletions
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);