fix assertion failed when no irc account was set