X-Git-Url: https://git.stg.codes/stg.git/blobdiff_plain/892385e632dee65c9eac60ba3a358e9e95d4a193..30723e4545227800cd3b43f2423f6760b1e4e22d:/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; };