mirror of
https://github.com/thelounge/thelounge
synced 2024-11-22 20:13:07 +00:00
Fix references to undefined this
This commit is contained in:
parent
948f304bb9
commit
cb1b6db14e
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ Chan.prototype.pushMessage = function(client, msg, increasesUnread) {
|
|||
this.messages.push(msg);
|
||||
|
||||
if (client.config.log === true) {
|
||||
writeUserLog(client, msg);
|
||||
writeUserLog.call(this, client, msg);
|
||||
}
|
||||
|
||||
if (Helper.config.maxHistory >= 0 && this.messages.length > Helper.config.maxHistory) {
|
||||
|
|
Loading…
Reference in a new issue