Skip to content

Commit

Permalink
weird admin bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonp committed Jul 24, 2014
1 parent d255071 commit d89143b
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 @@ -163,11 +163,11 @@ def pretty_uptime
end

def user_is_an_admin?(user)
streamer = @botchan
streamer = @botchan.to_s
streamer[0] = ''
puts "checking admin for: #{streamer}"
check_this_user = get_user(user)
if (check_this_user[6] == 1) || check_this_user == streamer
if (check_this_user[6] == 1) || check_this_user == "watchspade"
return true
else
return false
Expand Down

0 comments on commit d89143b

Please sign in to comment.