fixed variable name in handleMessageHook
the code would never work as expected with this typepull/1056/head
parent
90373964d3
commit
0fa954c1a0
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue