mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
bugfix for parameter handling...
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1690 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
fedc4dac4f
commit
6acc71e9a2
1 changed files with 2 additions and 2 deletions
|
|
@ -72,7 +72,7 @@ static void cmd_script_load(const char *data)
|
|||
if (*path == '\0')
|
||||
cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS);
|
||||
|
||||
fname = perl_script_get_path(data);
|
||||
fname = perl_script_get_path(path);
|
||||
if (fname == NULL) {
|
||||
printformat(NULL, NULL, MSGLEVEL_CLIENTERROR,
|
||||
TXT_SCRIPT_NOT_FOUND, data);
|
||||
|
|
@ -100,7 +100,7 @@ static void cmd_script_unload(const char *data)
|
|||
if (*name == '\0')
|
||||
cmd_param_error(CMDERR_NOT_ENOUGH_PARAMS);
|
||||
|
||||
script = perl_script_find(data);
|
||||
script = perl_script_find(name);
|
||||
if (script == NULL) {
|
||||
printformat(NULL, NULL, MSGLEVEL_CLIENTERROR,
|
||||
TXT_SCRIPT_NOT_LOADED, data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue