Permalink
Browse files

Merge branch 'master' of git://github.com/LindseyB/XOmBot into featur…

…e/ruby
  • Loading branch information...
2 parents edb91dd + a36eb1e commit 0dab5c2fc9c2784f0f9c38ab57b77d6b77612d40 @wilkie wilkie committed Mar 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/xombot/plugins/commands.rb
@@ -7,7 +7,7 @@ def execute(m)
XOmBot.plugins.each do |_,p|
p.commands.each do |k,v|
short_name = k.inspect.to_s[1..-2][/\w+/]
- commands << short_name
+ commands << short_name unless commands.include?(short_name)
if v[:help]
# m.reply "!#{} -- #{v[:help]}"
end

0 comments on commit 0dab5c2

Please sign in to comment.