mirror of
https://github.com/thelounge/thelounge
synced 2024-12-24 11:23:07 +00:00
a3e448acf5
Fixes #1961
12 lines
150 B
JavaScript
12 lines
150 B
JavaScript
"use strict";
|
|
|
|
let diff;
|
|
|
|
module.exports = function(a, opt) {
|
|
if (a !== diff) {
|
|
diff = a;
|
|
return opt.fn(this);
|
|
}
|
|
|
|
return opt.inverse(this);
|
|
};
|