mirror of
https://github.com/irssi/irssi.git
synced 2026-08-10 12:23:37 +02:00
Added --home and --config command line parameters to irssi to specify
locations for ~/.irssi and ~/.irssi/config git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1626 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
bcbb55dd1e
commit
79d1d7089a
19 changed files with 129 additions and 276 deletions
|
|
@ -255,7 +255,7 @@ static GModule *module_open(const char *name)
|
|||
path = g_strdup(name);
|
||||
else {
|
||||
/* first try from home dir */
|
||||
str = g_strdup_printf("%s/.irssi/modules", g_get_home_dir());
|
||||
str = g_strdup_printf("%s/modules", get_irssi_dir());
|
||||
path = g_module_build_path(str, name);
|
||||
g_free(str);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue