This function calls a callback at the end of the current main loop iteration. Signed-off-by: Uli Schlachter <psychon@znc.in>
The whole point of this pcall() is that we do not have unprotected Lua errors, because those kill awesome. So instead of assert()ing, let's just print a message. Signed-off-by: Uli Schlachter <psychon@znc.in>
No API-change (besides the obvious no-longer-a-global-object) intended. Signed-off-by: Uli Schlachter <psychon@znc.in>