X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;ds=sidebyside;f=src%2Fnntp%2Fnntpconnection.cpp;h=fa35f4f831e8f0d5cb8f84a9b6cf41a0cbacbab6;hb=ee580d19b7920904587e18d72a3465d52eab6204;hp=078c1c3da4d1e815696d5758214ed757381ad2b9;hpb=52c0819bfc1d083c6e0738f75f0d7eeba521295a;p=fms.git diff --git a/src/nntp/nntpconnection.cpp b/src/nntp/nntpconnection.cpp index 078c1c3..fa35f4f 100644 --- a/src/nntp/nntpconnection.cpp +++ b/src/nntp/nntpconnection.cpp @@ -786,9 +786,15 @@ void NNTPConnection::HandlePostedMessage(const std::string &message) } else { - mess.StartFreenetInsert(); + if(mess.StartFreenetInsert()) + { + SendBufferedLine("240 Article received OK"); + } + else + { + SendBufferedLine("441 Posting failed. Make sure the identity you are sending with exists!"); + } } - SendBufferedLine("240 Article received OK"); } else {