summaryrefslogtreecommitdiff
path: root/lib/rbot/core/utils/extends.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rbot/core/utils/extends.rb')
-rw-r--r--lib/rbot/core/utils/extends.rb2
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)