mirror of
https://github.com/irssi/irssi.git
synced 2026-08-18 16:12:30 +02:00
/SCRIPT LOAD modifies the script name so that all non-alphanumeric
characters are translated to '_' char .. now this behaviour is done also when /SCRIPT UNLOAD is done, so people don't get confused why their "test-1" script can't be unloaded. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2145 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
ed4d24b282
commit
ba445fe37e
3 changed files with 17 additions and 6 deletions
|
|
@ -31,6 +31,9 @@ PERL_SCRIPT_REC *perl_script_find_package(const char *package);
|
|||
|
||||
/* Returns full path for the script */
|
||||
char *perl_script_get_path(const char *name);
|
||||
/* Modify the script name so that all non-alphanumeric characters are
|
||||
translated to '_' */
|
||||
void script_fix_name(char *name);
|
||||
|
||||
/* If core should handle printing script errors */
|
||||
void perl_core_print_script_error(int print);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue