Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

fix syntax errors

  • Loading branch information...
commit f920d425251784eefd16fa6b67ba924e6de053b0 1 parent 2392e15
@mscdex authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 nntp.js
View
4 nntp.js
@@ -576,7 +576,7 @@ NNTP.prototype.groups = function(search, cb) {
}
if (Array.isArray(search))
search = search.join(',');
- search = (search ? search : '');
+ search = (search ? ' ' + search : '');
this._send('LIST', 'ACTIVE' + search, function(err, code, r, type) {
if (err)
return cb(err);
@@ -598,7 +598,7 @@ NNTP.prototype.groupsDesc = function(search, cb) {
search = '';
} else if (Array.isArray(search))
search = search.join(',');
- search = (search ? search : '');
+ search = (search ? ' ' + search : '');
// According to the RFC:
// The description SHOULD be in UTF-8. However, servers often obtain the
Please sign in to comment.
Something went wrong with that request. Please try again.