X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=include%2Fnntp%2Fnntpconnection.h;fp=include%2Fnntp%2Fnntpconnection.h;h=e31fd1bce282e5d9aa17ca09a1ee1a5a8131be5c;hb=0574a75431d98ed64c5cc6291600bb3759b399a6;hp=64a1645862716a37dd03eb91da49d0db39e95d80;hpb=bae54a5dae027ad0a6b0126ec9eeecd3bd2739eb;p=fms.git diff --git a/include/nntp/nntpconnection.h b/include/nntp/nntpconnection.h index 64a1645..e31fd1b 100644 --- a/include/nntp/nntpconnection.h +++ b/include/nntp/nntpconnection.h @@ -4,6 +4,7 @@ #include "../socketdefines.h" #include "../ilogger.h" #include "../message.h" +#include "../localidentity.h" #include #include @@ -51,6 +52,8 @@ private: bool m_isposting; long m_boardid; long m_messageid; + LocalIdentity m_authuser; // -1 if user not authenticated, otherwise id of user from tblLocalIdentity + bool m_authenticated; }; void SendBuffered(const std::string &data); @@ -83,6 +86,7 @@ private: const bool HandleNewGroupsCommand(const NNTPCommand &command); const bool HandlePostCommand(const NNTPCommand &command); const bool HandleOverCommand(const NNTPCommand &command); + const bool HandleAuthInfoCommand(const NNTPCommand &command); SOCKET m_socket; ClientStatus m_status;