Fix crash in sending queued messages if SocketDriver.irc is None.
Fix crash in sending queued messages if SocketDriver.irc is None.

ProgVal/Limnoria-test,ProgVal/Limnoria-test,Ban3/Limnoria,Ban3/Limnoria