diff --git a/plugins/discourse-narrative-bot/plugin.rb b/plugins/discourse-narrative-bot/plugin.rb index 1a42183ece5..9efcd7a88cc 100644 --- a/plugins/discourse-narrative-bot/plugin.rb +++ b/plugins/discourse-narrative-bot/plugin.rb @@ -179,7 +179,7 @@ after_initialize do self.human? && !self.anonymous? && !self.staged && - !user_option.skip_new_user_tips && + !user_option&.skip_new_user_tips && !SiteSetting.discourse_narrative_bot_ignored_usernames.split('|'.freeze).include?(self.username) end