]> jfr.im git - irc/quakenet/newserv.git/blob - lua/lib/schedule-legacy.lua
LUA: add function for channel chanop notice
[irc/quakenet/newserv.git] / lua / lib / schedule-legacy.lua
1 local scheduler = Scheduler()
2
3 function doschedule()
4 -- do nothing
5 end
6
7 function schedule(when, callback, ...)
8 return scheduler:add(when, callback, ...)
9 end
10
11 function delschedule(tag)
12 scheduler:remove(tag)
13 end
14
15 function scheduleempty()
16 return #scheduler == 0
17 end