Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix parenthesis issue in condition

  • Loading branch information...
commit a0737591836a27d3e97660b06f2d9e0f3fad67ee 1 parent 730fa52
@vivien vivien authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/jabber/bot.rb
View
2  lib/jabber/bot.rb
@@ -328,7 +328,7 @@ def help_message(sender, command_name) #:nodoc:
# Thank you, Hash.sort
command = command[1]
- if !command[:is_alias] && (command[:is_public] || master? sender)
+ if !command[:is_alias] && (command[:is_public] || master?(sender))
command[:syntax].each { |syntax| help_message += "#{syntax}\n" }
help_message += " #{command[:description]}\n\n"
end
Please sign in to comment.
Something went wrong with that request. Please try again.