From 1f4375b77e0f6bd6d898bbfb6d525589ed11ada3 Mon Sep 17 00:00:00 2001 From: Luke Bratch Date: Tue, 21 May 2019 23:04:46 +0100 Subject: Only try new nicks if the server tells us 432/ERR_ERRONEUSNICKNAME or 433/ERR_NICKNAMEINUSE if we weren't already registered with it. Avoids crash if the server changes our nick and our next automatic attempt was in use or invalid. --- TODO | 4 ---- 1 file changed, 4 deletions(-) (limited to 'TODO') diff --git a/TODO b/TODO index b5b645a..245ddf1 100644 --- a/TODO +++ b/TODO @@ -15,10 +15,6 @@ Allow connecting to a passworded server. Might need to #include in blabouncer.c to make some operating systems and/or compilers happy. -Can't update greeting if server changed our nick (e.g. nick protection), then we tried to change it back, but it was now in use (e.g. by services enforcer), so our 433 handling tries to change it again. -Maybe only do 433 handling if we're not registered yet? -(Might be fixed by adding missing free() to fix memory leak in this commit - need to re-test.) - Support autojoining passworded channels. Test CTCP. -- cgit v1.2.3