X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/892385e632dee65c9eac60ba3a358e9e95d4a193..8c98969b4f3f73167a31d195ed792c35f82e9566:/include/stg_message.h?ds=sidebyside 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; };