mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +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
|
|
@ -531,7 +531,7 @@ static void botuser_config_read(void)
|
|||
char *fname;
|
||||
|
||||
/* Read users from ~/.irssi/users */
|
||||
fname = g_strdup_printf("%s/.irssi/users", g_get_home_dir());
|
||||
fname = g_strdup_printf("%s/users", get_irssi_dir());
|
||||
userconfig = config_open(fname, 0600);
|
||||
g_free(fname);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue