-
Notifications
You must be signed in to change notification settings - Fork 352
-
Notifications
You must be signed in to change notification settings - Fork 352
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Assertion failure when sending an invalid NICK #466
Comments
why is the disconnect handled before the event 432? |
I do see |
looking for ideas to improve the irssi event system... currently the 432 will post a disconnect signal but I would prefer that to be run after all the other event code has finished to avoid this situation
|
Related: 8312144 - signal_add_first("server event", (SIGNAL_FUNC) irc_server_event);
+ signal_add_last("server event", (SIGNAL_FUNC) irc_server_event); That's the The one from
The
But apparently there was a good reason to give the other one higher priority. Maybe it should just stop the "server event" signal if it disconnected after emitting "event XXX"? Attached debugging session: gdb.txt |
How to reproduce:
38952c30
What happens:
We send an invalid nick and the server answers with a
432
that gets handled inirc-nicklist.c
by just truncating the connection.sig_disconnect
is then reached which clears theisupport
hashtable.Then we try to print the raw message from the server and call
ischannel_func
,g_hash_table_lookup
fails and emits those warnings.The text was updated successfully, but these errors were encountered: