mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-22 00:16:15 -04:00
fixed variable name in handleMessageHook
the code would never work as expected with this type
This commit is contained in:
parent
90373964d3
commit
0fa954c1a0
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…
Add table
Add a link
Reference in a new issue