aboutsummaryrefslogtreecommitdiff
path: root/weechat/tomsg.c
diff options
context:
space:
mode:
Diffstat (limited to 'weechat/tomsg.c')
-rw-r--r--weechat/tomsg.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/weechat/tomsg.c b/weechat/tomsg.c
index 83b8e17..c860aea 100644
--- a/weechat/tomsg.c
+++ b/weechat/tomsg.c
@@ -108,6 +108,9 @@ static void create_room_buffer(struct roomdata *room){
weechat_buffer_set(room->buffer,"nicklist","1");
weechat_buffer_set(room->buffer,"nicklist_case_sensitive","1");
weechat_buffer_set(room->buffer,"nicklist_display_groups","0");
+ if(room->conn->username){
+ weechat_buffer_set(room->buffer,"localvar_set_nick",room->conn->username);
+ }
room->buffer_nickgroup=NULL;
}