]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/plugins.rb
fix: plugins delegate disregarding all options given
[user/henk/code/ruby/rbot.git] / lib / rbot / plugins.rb
index 8621fe45341456e485894a4768c8d8c298ae8257..d231d7f24f813fc0002a5fa03216c5b0f4ea40c9 100644 (file)
@@ -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