]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
extends.rb: suppress warning
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 24 Jun 2008 17:32:09 +0000 (19:32 +0200)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Tue, 24 Jun 2008 17:32:09 +0000 (19:32 +0200)
lib/rbot/core/utils/extends.rb

index bc0eeb4674b2f12869907e3f7bbb6607a40d24d6..42500ee0f9f45544823cd23918903e8d44dda36c 100644 (file)
@@ -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)