mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-20 14:39:53 +01:00
fixed variable name in handleMessageHook
the code would never work as expected with this type
This commit is contained in:
parent
3dede0528c
commit
e0d4a16208
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue