diff options
Diffstat (limited to 'noannounce.h')
-rw-r--r-- | noannounce.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noannounce.h b/noannounce.h index e497b03..c13aeac 100644 --- a/noannounce.h +++ b/noannounce.h @@ -50,6 +50,7 @@ public: bool Parse(const char *s); const char *ToText(void) const; bool Save(FILE *f); + bool Valid() { return startTime > 0; } }; class cNoAnnounces : public cConfig<cNoAnnounce> { |