app/kern/mod/event.js in flok-0.0.36 vs app/kern/mod/event.js in flok-0.0.38
- old
+ new
@@ -3,9 +3,12 @@
function int_event(ep, event_name, info) {
var f = evt[ep];
if (f != undefined) {
f(ep, event_name, info);
+ return true;
+ } else {
+ return false;
}
}
function reg_evt(ep, f) {
evt[ep] = f;