diff options
Diffstat (limited to 'src/pyloader.c')
| -rw-r--r-- | src/pyloader.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/pyloader.c b/src/pyloader.c index a087827..9c878a4 100644 --- a/src/pyloader.c +++ b/src/pyloader.c @@ -321,11 +321,14 @@ int pyloader_init(void) return 0; /* XXX: load autorun scripts here */ - /* Add script location to the load path (add more paths later) */ + /* Add script location to the load path */ pyhome = g_strdup_printf("%s/scripts", get_irssi_dir()); pyloader_add_script_path(pyhome); g_free(pyhome); - + + /* typically /usr/local/share/irssi/scripts */ + pyloader_add_script_path(SCRIPTDIR); + return 1; } |
