Skip to content
This repository has been archived by the owner on Apr 17, 2020. It is now read-only.

server connection msgs go to 2 windows rather than just 1 or many more #464

Open
irssibot opened this issue Oct 14, 2006 · 6 comments
Open

Comments

@irssibot
Copy link
Collaborator

I've setup 1 window per server with this setting:

immortal = "yes"; level = "SNOTES WALLOPS"; name = "-o-"; servertag = "oftc";

"name" + "servertag" vary per server.
Now, when OFTC reconnects, the msgs generated appear in its window as expected.
When all the other networks/ servers reconnect like freenode, undernet, quakenet, ircnet, then for each of them their msgs appear in the last of such defined windows.

Now, if all including OFTC would be munged into 1 window, I'd assume "feature of separate server msgs" is not intended/ supported.
But given that it works for OFTC only, it appears to me as if generally separating by server is possible, only that the other servers are treated differently somehow.

What can I do to investigate this further with my 0 knowledge of irssi code?! :-)

@irssibot
Copy link
Collaborator Author

are those servers really active in those other windows? (see /window)
do the others have an item (query, channel) in them?

@irssibot
Copy link
Collaborator Author

Working window:
Window : #81
Name : -o-
Size : 150x52
Immortal: yes
Level : SNOTES WALLOPS
Server : oftc (sticky)

The non-working windows are the same, except they have items (or non for IRCnet, which doesn't work either). Names are '-X-' with X per network.

@irssibot
Copy link
Collaborator Author

Now that I witnessed a reconnect LIVE, I get the impression irssi takes the last accessed server window for all servers but oftc, while oftc's reconnect messages always go to its own.
OR, it was all the times just pure luck, but it was far too often (~20 times and always oftc works while the others write to a random /last active server window).

@irssibot
Copy link
Collaborator Author

windows that don't have items get prefered for such messages over windows that have items. So "except they have items" explains that.
Also, make sure the server is set sticky in those windows too. (/window server -sticky )

@irssibot
Copy link
Collaborator Author

Update:
oftc is not the only window without items! IRCnet is without items, too, still the server msgs don't remain there.

Au contraire, I actually learned that I can reproduce it simply by /disconnect + /connect. -u- for UnderNet was active window, it has query items in it, still IRCnet's msgs appeared there in -u-!!!

As already said (although not clearly, sorry), all servers are set sticky in their window.

@irssibot
Copy link
Collaborator Author

irssibot commented Nov 2, 2006

Right, I can reproduce it here. Don't know yet why it happens though.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Development

No branches or pull requests

1 participant