diff options
author | Matthias Hecker <mail@apoc.cc> | 2020-03-29 12:47:45 +0200 |
---|---|---|
committer | Matthias Hecker <mail@apoc.cc> | 2020-03-29 12:47:45 +0200 |
commit | 63322013f2f02fe1d00dffcb1237fbae3211b468 (patch) | |
tree | 2f0866c99b7c20664e3dc53c8cb29e9430226f80 /lib/rbot | |
parent | b047b669c3426afebf9f6397a56cb3e7c0beb366 (diff) |
fix: plugins delegate disregarding all options given
Diffstat (limited to 'lib/rbot')
-rw-r--r-- | lib/rbot/plugins.rb | 2 |
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 |