projects
/
fms.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
version 0.1.13
[fms.git]
/
src
/
nntp
/
nntpconnection.cpp
diff --git
a/src/nntp/nntpconnection.cpp
b/src/nntp/nntpconnection.cpp
index
078c1c3
..
fa35f4f
100644
(file)
--- a/
src/nntp/nntpconnection.cpp
+++ b/
src/nntp/nntpconnection.cpp
@@
-786,9
+786,15
@@
void NNTPConnection::HandlePostedMessage(const std::string &message)
}
\r
else
\r
{
\r
}
\r
else
\r
{
\r
- mess.StartFreenetInsert();
\r
+ if(mess.StartFreenetInsert())
\r
+ {
\r
+ SendBufferedLine("240 Article received OK");
\r
+ }
\r
+ else
\r
+ {
\r
+ SendBufferedLine("441 Posting failed. Make sure the identity you are sending with exists!");
\r
+ }
\r
}
\r
}
\r
- SendBufferedLine("240 Article received OK");
\r
}
\r
else
\r
{
\r
}
\r
else
\r
{
\r