Call to_s on potential nil pointer.
commit24b5741dc2f9bb21176d3b667c043e916d8f2d2f
authorAllan Odgaard <nee1lnl02@sneakemail.com>
Fri, 15 Jun 2007 13:20:11 +0000 (15 15:20 +0200)
committerAllan Odgaard <nee1lnl02@sneakemail.com>
Fri, 15 Jun 2007 13:20:11 +0000 (15 15:20 +0200)
tree04cf75e9fbb5f2ff4d19fa105775c456ebfaecd8
parentef6985ec30350ee32426a2ff7f00293448d95f27
Call to_s on potential nil pointer.

Address.normalize is sometimes called with nil as nick_name so as a workaround we call to_s on the nick_name. This happened when a user issued the command “help register” in a private chat with six.
ircbase/irc.rb