diff options
author | Berke Viktor <bviktor@hexchat.org> | 2013-03-23 16:25:38 +0100 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2013-03-23 16:25:38 +0100 |
commit | a6d7cfab78299171178ce556a869560630129686 (patch) | |
tree | ffde0b928bd2c471272f29d6429d3204c9348666 | |
parent | 93c79d44637ebfe1061073ef838289b3bf026b37 (diff) |
Get rid of the servlist_ rubbish
-rw-r--r-- | plugins/perl/lib/Xchat/List/Network.pm | 2 | ||||
-rw-r--r-- | src/common/servlist.c | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/plugins/perl/lib/Xchat/List/Network.pm b/plugins/perl/lib/Xchat/List/Network.pm index 2b112e3a..3a7e2ae6 100644 --- a/plugins/perl/lib/Xchat/List/Network.pm +++ b/plugins/perl/lib/Xchat/List/Network.pm @@ -6,7 +6,7 @@ my $last_modified; my @servers; sub get { - my $server_file = Xchat::get_info( "configdir" ) . "/servlist_.conf"; + my $server_file = Xchat::get_info( "configdir" ) . "/servlist.conf"; # recreate the list only if the server list file has changed if( -f $server_file && diff --git a/src/common/servlist.c b/src/common/servlist.c index f4208f61..6dbc8f6e 100644 --- a/src/common/servlist.c +++ b/src/common/servlist.c @@ -1047,7 +1047,7 @@ servlist_load (void) char *tmp; ircnet *net = NULL; - fp = hexchat_fopen_file ("servlist_.conf", "r", 0); + fp = hexchat_fopen_file ("servlist.conf", "r", 0); if (!fp) return FALSE; @@ -1178,12 +1178,12 @@ servlist_save (void) #ifndef WIN32 int first = FALSE; - buf = g_strdup_printf ("%s/servlist_.conf", get_xdir ()); + buf = g_strdup_printf ("%s/servlist.conf", get_xdir ()); if (g_access (buf, F_OK) != 0) first = TRUE; #endif - fp = hexchat_fopen_file ("servlist_.conf", "w", 0); + fp = hexchat_fopen_file ("servlist.conf", "w", 0); if (!fp) { #ifndef WIN32 |