Revision d4c15d69 server/src/EmotionConfig.cpp
server/src/EmotionConfig.cpp | ||
---|---|---|
40 | 40 |
} |
41 | 41 |
|
42 | 42 |
bool EmotionConfig::is_active() { |
43 |
if (end_time.time_since_epoch().count() == 0) |
|
44 |
return true; |
|
43 | 45 |
if (std::chrono::steady_clock::now() >= end_time) { |
44 | 46 |
return false; |
45 | 47 |
} |
Also available in: Unified diff