mirror of
https://github.com/irssi/irssi.git
synced 2026-08-17 23:52:22 +02:00
Irssi now asks if you want to remove unknown settings from configuration
file. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1400 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
9a7524ae75
commit
6806a0b7df
3 changed files with 78 additions and 8 deletions
|
|
@ -74,6 +74,10 @@ SETTINGS_REC *settings_get_record(const char *key);
|
|||
void settings_check_module(const char *module);
|
||||
#define settings_check() settings_check_module(MODULE_NAME)
|
||||
|
||||
/* remove all invalid settings from config file. works only with the
|
||||
modules that have already called settings_check() */
|
||||
void settings_clean_invalid(void);
|
||||
|
||||
/* if `fname' is NULL, the default is used */
|
||||
int settings_reread(const char *fname);
|
||||
int settings_save(const char *fname);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue