Skip to content

Commit

Permalink
fixed lookup issue
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonp committed Jul 14, 2014
1 parent 9e2f834 commit 49b8c14
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions botspade.rb
Original file line number Diff line number Diff line change
Expand Up @@ -329,8 +329,8 @@ def user_is_an_admin?(user)
msg channel, "#{person}: Empty profile!"
end
else
lookup_value = person_hash[attribute]
if (lookup_value)
if (person_hash[attribute])
lookup_value = person_hash[attribute]
msg channel, "#{person}: #{lookup_value}"
else
msg channel, "Sorry, nothing in the viewer database for that!"
Expand Down

0 comments on commit 49b8c14

Please sign in to comment.