mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 04:13:32 +02:00
I knew removing those checks from "channel created" and "query created"
signals broke something :) -window option to /JOIN and /QUERY. This time don't check for any item with same server/name, but check that the item itself doesn't have window set yet. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1326 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
f71afe835a
commit
ab5166033c
2 changed files with 10 additions and 5 deletions
|
|
@ -39,8 +39,10 @@
|
|||
|
||||
static void signal_channel_created(CHANNEL_REC *channel, void *automatic)
|
||||
{
|
||||
window_item_create((WI_ITEM_REC *) channel,
|
||||
GPOINTER_TO_INT(automatic));
|
||||
if (window_item_window(channel) == NULL) {
|
||||
window_item_create((WI_ITEM_REC *) channel,
|
||||
GPOINTER_TO_INT(automatic));
|
||||
}
|
||||
}
|
||||
|
||||
static void signal_channel_created_curwin(CHANNEL_REC *channel)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue