From 9847384d7ec5eeaf38a6746a585fa02c22da8134 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 24 Jun 2008 19:32:09 +0200 Subject: [PATCH] extends.rb: suppress warning --- lib/rbot/core/utils/extends.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.2