X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/892385e632dee65c9eac60ba3a358e9e95d4a193..44b34d43a7e7cdba4073fb71346f3bb396587071:/include/stg_message.h diff --git a/include/stg_message.h b/include/stg_message.h index 558100dd..16fe566f 100644 --- a/include/stg_message.h +++ b/include/stg_message.h @@ -43,6 +43,11 @@ struct STG_MSG { STG_MSG() {}; +time_t GetNextSendTime() const +{ +return header.lastSendTime + header.repeat * 60; +}; + STG_MSG_HDR header; std::string text; };