Dicken Fehler gefixt.

This commit is contained in:
Simon Szustkowski 2012-10-11 18:37:49 +02:00
parent 0b9682b55d
commit 54626ded9b
1 changed files with 2 additions and 2 deletions

4
bot.rb
View File

@ -33,10 +33,10 @@ $current_status = res.body.to_s.strip
# If status differs from last time checked, put the announcement # If status differs from last time checked, put the announcement
if (last_status != $current_status) if (last_status != $current_status)
if ($current_status == "offline") if ($current_status == "offline")
tweet = "Der Raum ist jetzt OFFEN. #ctdo" tweet = "Der Raum ist jetzt GESCHLOSSEN. #ctdo"
status = "offline" status = "offline"
elsif ($current_status == "online") elsif ($current_status == "online")
tweet = "Der Raum ist jetzt GESCHLOSSEN. #ctdo." tweet = "Der Raum ist jetzt OFFEN. #ctdo."
status = "online" status = "online"
else else
tweet = "Raumstatus UNBEKANNT." tweet = "Raumstatus UNBEKANNT."