mirror of
https://github.com/weechat/weechat.git
synced 2026-07-03 00:03:12 +02:00
core: allow empty short name on buffers (name is used if not set)
This commit is contained in:
@@ -439,8 +439,7 @@ upgrade_weechat_read_cb (void *data,
|
||||
strdup (infolist_string (infolist, "plugin_name"));
|
||||
upgrade_current_buffer->short_name =
|
||||
(infolist_string (infolist, "short_name")) ?
|
||||
strdup (infolist_string (infolist, "short_name")) :
|
||||
strdup (infolist_string (infolist, "name"));
|
||||
strdup (infolist_string (infolist, "short_name")) : NULL;
|
||||
upgrade_current_buffer->type =
|
||||
infolist_integer (infolist, "type");
|
||||
upgrade_current_buffer->notify =
|
||||
|
||||
Reference in New Issue
Block a user