ShaneMcC/DFBnc — Issue #15: User socket goes into weird state when bouncer connects
Author: csmith
Created: 2011-10-19 13:36:48+00:00
State: open

If DFBnc connects to a server while I'm connected to it (e.g. when it first starts or after a manual 'disconnect'), it doesn't seem to relay anything back and forward properly. Raw logs:

14:32:21 | >> NICK Chris|Work
14:32:21 | >> USER smithc 192.168.30.109 renji.org.uk :smithc
14:32:21 | << NOTICE AUTH :- Welcome to DFBnc (DFBnc-Java 0.2.1)
14:32:21 | << NOTICE AUTH :- You are not connected using SSL
14:32:21 | << NOTICE AUTH :- You are now logged in
14:32:21 | << NOTICE AUTH :- This is an Admin account
14:32:25 | >> dfbnc connect
14:32:25 | << NOTICE AUTH :- ----------------
14:32:25 | << NOTICE AUTH :- Connecting...
14:32:25 | << NOTICE AUTH :- Using server: irc.quakenet.org:6667
14:32:25 | << NOTICE AUTH :- Trying to bind to: 85.234.138.10
14:32:25 | << :port80a.se.quakenet.org 005 MD87 LISTMODE=997 BNC=DFBNC TIMESTAMPEDIRC :are supported by this server

Making the client reconnect to the bouncer gets the proper 001s-005s etc and works normally.