fixed variable name in handleMessageHook

the code would never work as expected with this type
This commit is contained in:
Dmitry 2012-10-11 17:51:57 +04:00
parent 90373964d3
commit 0fa954c1a0
1 changed files with 1 additions and 1 deletions

View File

@ -178,7 +178,7 @@ exports.handleMessage = function(client, message)
// handleMessage will be called, even if the client is not authorized
hooks.aCallAll("handleMessage", { client: client, message: message }, function ( messages ) {
_.each(messages, function(newMessage){
if ( newmessage === null ) {
if ( newMessage === null ) {
dropMessage = true;
}
});