{\r
std::string type=command.m_arguments[0];\r
StringFunctions::UpperCase(type,type);\r
- if(type=="MESSAGE" || type=="TRUSTLIST")\r
+ if(type=="MESSAGE" || type=="TRUSTLIST" || type=="PEERMESSAGE" || type=="PEERTRUSTLIST")\r
{\r
if(m_status.m_authenticated)\r
{\r
found=true;\r
}\r
}\r
- if(type=="TRUSTLIST")\r
+ else if(type=="TRUSTLIST")\r
{\r
if(tr.GetTrustListTrust(nntpname,trust))\r
{\r
found=true;\r
}\r
}\r
+ else if(type=="PEERMESSAGE")\r
+ {\r
+ if(tr.GetPeerMessageTrust(nntpname,trust))\r
+ {\r
+ found=true;\r
+ }\r
+ }\r
+ else if(type=="PEERTRUSTLIST")\r
+ {\r
+ if(tr.GetPeerTrustListTrust(nntpname,trust))\r
+ {\r
+ found=true;\r
+ }\r
+ }\r
\r
if(trust>=0 && found)\r
{\r