summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Smith <git@kismith.co.uk>2010-09-24 11:11:49 (GMT)
committerKevin Smith <git@kismith.co.uk>2010-09-24 11:11:49 (GMT)
commit3a57283476de7d29d6652145336dc03964d5659c (patch)
tree3594c8fefb176f6ae6380cd8ffd7850a22807248 /Swift/Controllers/Chat/ChatControllerBase.cpp
parenta29b7059d8d2a43a9ec6095d53ad61fa9886e20b (diff)
downloadswift-3a57283476de7d29d6652145336dc03964d5659c.zip
swift-3a57283476de7d29d6652145336dc03964d5659c.tar.bz2
Don't overwrite date changes with presence changes
Diffstat (limited to 'Swift/Controllers/Chat/ChatControllerBase.cpp')
-rw-r--r--Swift/Controllers/Chat/ChatControllerBase.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Swift/Controllers/Chat/ChatControllerBase.cpp b/Swift/Controllers/Chat/ChatControllerBase.cpp
index 177cdf0..9619722 100644
--- a/Swift/Controllers/Chat/ChatControllerBase.cpp
+++ b/Swift/Controllers/Chat/ChatControllerBase.cpp
@@ -50,6 +50,7 @@ void ChatControllerBase::handleDayChangeTick() {
dateChangeTimer_->stop();
boost::posix_time::ptime now = boost::posix_time::second_clock::local_time();
chatWindow_->addSystemMessage("The day is now " + String(boost::posix_time::to_iso_extended_string(now)).getSubstring(0,10));
+ dayTicked();
createDayChangeTimer();
}