diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-06-24 19:32:09 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-06-24 19:32:09 +0200 |
commit | 9847384d7ec5eeaf38a6746a585fa02c22da8134 (patch) | |
tree | 7c8d383a70a9aa50f186dcaea89223fc80a32880 | |
parent | d1f1241d9ecab1a75b95898722794f99045ccc5e (diff) |
extends.rb: suppress warning
-rw-r--r-- | lib/rbot/core/utils/extends.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/core/utils/extends.rb b/lib/rbot/core/utils/extends.rb index bc0eeb46..42500ee0 100644 --- a/lib/rbot/core/utils/extends.rb +++ b/lib/rbot/core/utils/extends.rb @@ -428,7 +428,7 @@ module ::Irc self end.send(:define_method, :reply) do |*args| debug "replying to '#{from.message}' with #{args.first}" - from.reply *args + from.reply(*args) end # the created message will follow originating message's in_thread new_m.in_thread = from.in_thread if from.respond_to?(:in_thread) |