mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 21:00:40 +02:00
/wjoin and /wquery commands stopped the "channel created" and
"query created" signals - not good. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@571 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
674d240718
commit
869279f285
3 changed files with 10 additions and 5 deletions
|
|
@ -37,7 +37,10 @@
|
|||
|
||||
static void signal_channel_created(CHANNEL_REC *channel, gpointer automatic)
|
||||
{
|
||||
window_item_create((WI_ITEM_REC *) channel, GPOINTER_TO_INT(automatic));
|
||||
if (window_item_find(channel->server, channel->name) == NULL) {
|
||||
window_item_create((WI_ITEM_REC *) channel,
|
||||
GPOINTER_TO_INT(automatic));
|
||||
}
|
||||
}
|
||||
|
||||
static void signal_channel_created_curwin(CHANNEL_REC *channel)
|
||||
|
|
@ -45,7 +48,6 @@ static void signal_channel_created_curwin(CHANNEL_REC *channel)
|
|||
g_return_if_fail(channel != NULL);
|
||||
|
||||
window_add_item(active_win, (WI_ITEM_REC *) channel, FALSE);
|
||||
signal_stop();
|
||||
}
|
||||
|
||||
static void signal_channel_destroyed(CHANNEL_REC *channel)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue