mirror of
https://github.com/weechat/weechat.git
synced 2026-07-09 03:03:12 +02:00
Remove some messages during startup about scripts and plugins loaded
It is still possible to see messages by changing debug level for "core" or plugins (perl, python, ruby, lua, tcl).
This commit is contained in:
@@ -78,7 +78,7 @@ gui_history_buffer_add (struct t_gui_buffer *buffer, const char *string)
|
||||
ptr_history = buffer->last_history->prev_history;
|
||||
if (buffer->ptr_history == buffer->last_history)
|
||||
buffer->ptr_history = ptr_history;
|
||||
buffer->last_history->prev_history->next_history = NULL;
|
||||
((buffer->last_history)->prev_history)->next_history = NULL;
|
||||
if (buffer->last_history->text)
|
||||
free (buffer->last_history->text);
|
||||
free (buffer->last_history);
|
||||
@@ -128,7 +128,7 @@ gui_history_global_add (const char *string)
|
||||
ptr_history = last_history_global->prev_history;
|
||||
if (history_global_ptr == last_history_global)
|
||||
history_global_ptr = ptr_history;
|
||||
last_history_global->prev_history->next_history = NULL;
|
||||
(last_history_global->prev_history)->next_history = NULL;
|
||||
if (last_history_global->text)
|
||||
free (last_history_global->text);
|
||||
free (last_history_global);
|
||||
|
||||
@@ -238,7 +238,7 @@ gui_hotlist_add_hotlist (struct t_gui_hotlist **hotlist,
|
||||
new_hotlist->prev_hotlist = pos_hotlist->prev_hotlist;
|
||||
new_hotlist->next_hotlist = pos_hotlist;
|
||||
if (pos_hotlist->prev_hotlist)
|
||||
pos_hotlist->prev_hotlist->next_hotlist = new_hotlist;
|
||||
(pos_hotlist->prev_hotlist)->next_hotlist = new_hotlist;
|
||||
else
|
||||
*hotlist = new_hotlist;
|
||||
pos_hotlist->prev_hotlist = new_hotlist;
|
||||
|
||||
@@ -267,6 +267,7 @@ gui_keyboard_insert_sorted (struct t_gui_key **keys, struct t_gui_key **last_key
|
||||
}
|
||||
else
|
||||
{
|
||||
/* first key in list */
|
||||
key->prev_key = NULL;
|
||||
key->next_key = NULL;
|
||||
*keys = key;
|
||||
|
||||
@@ -95,7 +95,7 @@ gui_nicklist_insert_group_sorted (struct t_gui_nick_group **groups,
|
||||
group->prev_group = pos_group->prev_group;
|
||||
group->next_group = pos_group;
|
||||
if (pos_group->prev_group)
|
||||
pos_group->prev_group->next_group = group;
|
||||
(pos_group->prev_group)->next_group = group;
|
||||
else
|
||||
*groups = group;
|
||||
pos_group->prev_group = group;
|
||||
@@ -243,7 +243,7 @@ gui_nicklist_insert_nick_sorted (struct t_gui_nick_group *group,
|
||||
nick->prev_nick = pos_nick->prev_nick;
|
||||
nick->next_nick = pos_nick;
|
||||
if (pos_nick->prev_nick)
|
||||
pos_nick->prev_nick->next_nick = nick;
|
||||
(pos_nick->prev_nick)->next_nick = nick;
|
||||
else
|
||||
group->nicks = nick;
|
||||
pos_nick->prev_nick = nick;
|
||||
|
||||
Reference in New Issue
Block a user