summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortomaw2014-11-12 12:18:23 +0000
committertomaw2014-11-12 12:18:23 +0000
commitea4bd90d31b5ef942a8f56928c451ca0e3528b91 (patch)
tree4d46d118fa821a62236ebd9a412880ee583096a9
parent23cd9bcb17b4b2247254b6881d61edbe14ae3cb9 (diff)
downloadscripts.irssi.org-ea4bd90d31b5ef942a8f56928c451ca0e3528b91.tar.bz2
cron.pl: load jobs when the script loads
-rw-r--r--scripts/cron.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/cron.pl b/scripts/cron.pl
index 9e1d125..bb761c2 100644
--- a/scripts/cron.pl
+++ b/scripts/cron.pl
@@ -290,6 +290,8 @@ sub cmd_jobsload {
Irssi::print("Jobs loaded");
}
+cmd_jobsload();
+
Irssi::command_bind('jobs', 'cmd_jobs', 'Cron');
Irssi::command_bind('jobadd', 'cmd_jobadd', 'Cron');
Irssi::command_bind('jobdel', 'cmd_jobdel', 'Cron');