Merge pull request #1056 from dmitryuv/sync-processing

Fix variable name in handleMessageHook
pull/1057/merge
Marcel Klehr 2012-10-11 07:05:51 -07:00
commit 1461c4e19a
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 // handleMessage will be called, even if the client is not authorized
hooks.aCallAll("handleMessage", { client: client, message: message }, function ( messages ) { hooks.aCallAll("handleMessage", { client: client, message: message }, function ( messages ) {
_.each(messages, function(newMessage){ _.each(messages, function(newMessage){
if ( newmessage === null ) { if ( newMessage === null ) {
dropMessage = true; dropMessage = true;
} }
}); });