summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/rbot/plugins.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/plugins.rb b/lib/rbot/plugins.rb
index 8621fe45..d231d7f2 100644
--- a/lib/rbot/plugins.rb
+++ b/lib/rbot/plugins.rb
@@ -1001,7 +1001,7 @@ module Plugins
sort_modules unless @sorted_modules
opts = {}
- opts.merge(args.pop) if args.last.class == Hash
+ opts.merge!(args.pop) if args.last.class == Hash
m = args.first
if BasicUserMessage === m