mirror of
https://github.com/irssi/irssi.git
synced 2026-08-20 09:02:13 +02:00
Add a '-autorun' switch to /script reset
This way we reload all the scripts in the autorun folder.
This commit is contained in:
parent
e4f8abc973
commit
b2424f3193
3 changed files with 16 additions and 1 deletions
|
|
@ -16,6 +16,8 @@ extern GSList *perl_scripts;
|
|||
void perl_scripts_init(void);
|
||||
/* Destroy all perl scripts and deinitialize perl interpreter */
|
||||
void perl_scripts_deinit(void);
|
||||
/* Load all the scripts in the autorun/ folder */
|
||||
void perl_scripts_autorun(void);
|
||||
|
||||
/* Load a perl script, path must be a full path. */
|
||||
PERL_SCRIPT_REC *perl_script_load_file(const char *path);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue