summaryrefslogtreecommitdiff
path: root/src/perl/perl-core.c
diff options
context:
space:
mode:
authorLemonBoy <thatlemon@gmail.com>2016-09-11 16:59:21 +0200
committerLemonBoy <thatlemon@gmail.com>2016-09-11 16:59:21 +0200
commitb2424f31933309a0b3dfa6cb541c2917443a38d4 (patch)
tree25becee828cac42c7f34b3aec5263c5f7ddb0e2f /src/perl/perl-core.c
parente4f8abc973872d5a7b2de98d269a924b97d428ab (diff)
downloadirssi-b2424f31933309a0b3dfa6cb541c2917443a38d4.zip
Add a '-autorun' switch to /script reset
This way we reload all the scripts in the autorun folder.
Diffstat (limited to 'src/perl/perl-core.c')
-rw-r--r--src/perl/perl-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perl/perl-core.c b/src/perl/perl-core.c
index cb690906..2c61df70 100644
--- a/src/perl/perl-core.c
+++ b/src/perl/perl-core.c
@@ -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;