aboutsummaryrefslogtreecommitdiff
path: root/weechat/tomsg.c
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2017-04-09 19:38:04 +0200
committertomsmeding <tom.smeding@gmail.com>2017-04-09 19:39:05 +0200
commit915529d323dbb903cd702436ba4e083e80187972 (patch)
tree01d948db33e10c0506c8c54482e36f2cd6090fca /weechat/tomsg.c
parent183769d56c95b4628bdd815d3cffd5543a6f299a (diff)
weechat: Show nickname in input bar
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;
}