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