Skip to content

Commit d89c35c

Browse files
committed
fix
1 parent 5abc509 commit d89c35c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/baseballbot/models/subreddit.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def with_unposted_off_day_thread
3333
# If the bot isn't a moderator of the subreddit, it can't perform some actions
3434
def moderator? = moderators.include?(bot.name.downcase)
3535

36-
def sticky_game_threads? = moderator? && options.dig(:game_threads, :sticky) != false
36+
def sticky_game_threads? = moderator? && options.dig('game_threads', 'sticky') != false
3737

3838
def now = Baseballbot::Utility.parse_time(Time.now.utc, in_time_zone: timezone)
3939

0 commit comments

Comments
 (0)