Add a '-autorun' switch to /script reset

This way we reload all the scripts in the autorun folder.
This commit is contained in:
LemonBoy 2016-09-11 16:59:21 +02:00
commit b2424f3193
3 changed files with 16 additions and 1 deletions

View file

@ -393,7 +393,7 @@ int perl_get_api_version(void)
return IRSSI_PERL_API_VERSION;
}
static void perl_scripts_autorun(void)
void perl_scripts_autorun(void)
{
DIR *dirp;
struct dirent *dp;