summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMatthias Hecker <mail@apoc.cc>2020-03-29 12:47:45 +0200
committerMatthias Hecker <mail@apoc.cc>2020-03-29 12:47:45 +0200
commit63322013f2f02fe1d00dffcb1237fbae3211b468 (patch)
tree2f0866c99b7c20664e3dc53c8cb29e9430226f80 /lib
parentb047b669c3426afebf9f6397a56cb3e7c0beb366 (diff)
fix: plugins delegate disregarding all options given
Diffstat (limited to 'lib')
-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