updated title parsing methods to call a new hook: filter:parse.title

This commit is contained in:
Julian Lam
2015-05-21 12:07:46 -04:00
parent 830e1a7a3d
commit aae3ac6b98
3 changed files with 35 additions and 16 deletions

View File

@@ -41,10 +41,10 @@ SocketMeta.buildTitle = function(socket, text, callback) {
if (err) {
return callback(err);
}
meta.title.build(text, settings.userLang, {}, callback);
meta.title.build(text, settings.userLang, callback);
});
} else {
meta.title.build(text, meta.config.defaultLang, {}, callback);
meta.title.build(text, meta.config.defaultLang, callback);
}
};