mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-26 02:16:16 -04:00
Bugfixes for plugin installer
This commit is contained in:
parent
7304a9ef3f
commit
1ca12b24e6
2 changed files with 5 additions and 5 deletions
|
@ -64,7 +64,7 @@ exports.search = function(pattern, cb) {
|
|||
if (er) return cb(er);
|
||||
var res = {};
|
||||
for (key in data) {
|
||||
if (/*key.indexOf(plugins.prefix) == 0 &&*/ key.indexOf(pattern) != -1)
|
||||
if (key.indexOf(plugins.prefix) == 0 && key.indexOf(pattern) != -1)
|
||||
res[key] = data[key];
|
||||
}
|
||||
cb(null, {results:res});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue