Skip to content

Commit 87f1748

Browse files
committed
Hotfix for issue #4
The docs seem to say its okay to have an unbind method without arguments. Probably a bug in EM?
1 parent 92e6661 commit 87f1748

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/em-irc/client.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ def ready
167167
end
168168

169169
# @private
170-
def unbind
170+
def unbind(ignored)
171171
trigger(:disconnect)
172172
end
173173

@@ -177,4 +177,4 @@ def channel?(string)
177177
end
178178
end
179179
end
180-
end
180+
end

0 commit comments

Comments
 (0)