From: Eric Wong Date: Wed, 30 Sep 2015 21:00:23 +0000 (+0000) Subject: nntp: MODE READER denies posting X-Git-Tag: v1.0.0~817 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=96978b1c72ee9c5f589ce8a93b2a858424f057ba;p=public-inbox.git nntp: MODE READER denies posting Redundantly confirm to clients we do not accept posting with the MODE READER command. ref: RFC 3977 5.3.1 --- diff --git a/lib/PublicInbox/NNTP.pm b/lib/PublicInbox/NNTP.pm index dc4227ec..142bee39 100644 --- a/lib/PublicInbox/NNTP.pm +++ b/lib/PublicInbox/NNTP.pm @@ -78,7 +78,7 @@ sub cmd_mode ($$) { my ($self, $arg) = @_; $arg = uc $arg; return r501 unless $arg eq 'READER'; - '200 reader status acknowledged'; + '201 Posting prohibited'; } sub cmd_slave ($) { '202 slave status noted' }