You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.
Debug logging is always on for bots, regardless of the debug flag.
It appears that this is the problem code
self.out.debug = function() {
if (!this.debug) return;
util.log.apply(util, arguments);
};
this.debug is that function, so it's never falsey which means that the log always happens. I believe that checking self.opt.debug instead will achieve the desired results, but I'm not sure if that's the "right" fix.
The text was updated successfully, but these errors were encountered:
Debug logging is always on for bots, regardless of the debug flag.
It appears that this is the problem code
this.debug
is that function, so it's never falsey which means that the log always happens. I believe that checkingself.opt.debug
instead will achieve the desired results, but I'm not sure if that's the "right" fix.The text was updated successfully, but these errors were encountered: