Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions lib/em-irc/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,8 @@ def ready
end

# @private
def unbind
def unbind(reason)
log Logger::INFO "Unbind reason: #{reason}" if reason != nil
trigger(:disconnect)
end

Expand All @@ -177,4 +178,4 @@ def channel?(string)
end
end
end
end
end