Revision 6dee6447 server/src/EmotionConfig.cpp

View differences:

server/src/EmotionConfig.cpp
41 41

  
42 42

  
43 43
bool EmotionConfig::is_active(){
44
    if (end_time.time_since_epoch().count() == 0)
45
      return true;
44 46
    if (std::chrono::steady_clock::now() >= end_time){
45 47
        return false;
46 48
    }

Also available in: Unified diff