lib/slack/smart-bot/utils/save_status.rb in slack-smart-bot-1.11.0 vs lib/slack/smart-bot/utils/save_status.rb in slack-smart-bot-1.12.0
- old
+ new
@@ -55,10 +55,10 @@
m = ":large_green_circle: The *SmartBot* is up and running again."
end
@last_status_change = Time.now
@last_notified_status_id = status_id
unless m == ''
- respond m, config.status_channel
+ respond eval("\"" + m + "\""), config.status_channel
end
end
end
\ No newline at end of file