X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=include%2Fmessage.h;h=f30f33b6bbaa22927e2e768123a0aec04aac723a;hp=1fe121613e5716b964bdf571c7dba507db4a02a6;hb=b9c3763a932cebaa015a27fe111017f6f34dfbaa;hpb=37a8d59548287dcad78ef00e7b18058721eb9935 diff --git a/include/message.h b/include/message.h index 1fe1216..f30f33b 100644 --- a/include/message.h +++ b/include/message.h @@ -44,10 +44,15 @@ public: const bool ParseNNTPMessage(const std::string &nntpmessage); + const bool PostedToAdministrationBoard() { return CheckForAdministrationBoard(m_boards); } + void StartFreenetInsert(); + void HandleAdministrationMessage(); private: void Initialize(); + // checks vector of boards for any special administration boards - if it finds one true is returned, otherwise false + const bool CheckForAdministrationBoard(const std::vector &boards); long m_messageid; std::string m_messageuuid;