diff options
Diffstat (limited to 'lib/plugin.js')
-rw-r--r-- | lib/plugin.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/plugin.js b/lib/plugin.js index 11298fc..a7a29b9 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() { |