nntp-server
Version:
NNTP server implementation.
17 lines (13 loc) • 311 B
JavaScript
// https://tools.ietf.org/html/rfc3977#section-3.4.2
//
// Just a stub to not return errors on "MODE READER"
//
;
module.exports = {
head: 'MODE',
validate: /^MODE( [^\s]+)$/i,
// All supported params are defined in separate files
run() {
return '501 Unknown MODE option';
}
};