diff --git a/lib/plugin.js b/lib/plugin.js index 11298fcc9..a7a29b99f 100644 --- a/lib/plugin.js +++ b/lib/plugin.js @@ -155,7 +155,7 @@ Plugin.prototype.callHook = function(name, data) { if (!hookFunc) return Q(data); this.book.log.debug.ln("call hook", name); - if (!_.contains(Plugin.HOOKS, name)) this.book.log.warn.ln("hook '"+name+"' used by plugin '"+this.name+"' is deprecated, and will be remove in the coming versions"); + if (!_.contains(Plugin.HOOKS, name)) this.book.log.warn.ln("hook '"+name+"' used by plugin '"+this.name+"' is deprecated, and will be removed in the coming versions"); return Q() .then(function() {