diff --git a/lib/em-irc/client.rb b/lib/em-irc/client.rb index 164bdbe..d16373c 100644 --- a/lib/em-irc/client.rb +++ b/lib/em-irc/client.rb @@ -167,7 +167,8 @@ def ready end # @private - def unbind(ignored) + def unbind(reason) + log Logger::INFO "Unbind reason: #{reason}" if reason != nil trigger(:disconnect) end