fixed variable name in handleMessageHook
the code would never work as expected with this typepull/1058/head
parent
3dede0528c
commit
e0d4a16208
|
@ -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