diff options
Diffstat (limited to 'protocols/IRCG/src')
-rw-r--r-- | protocols/IRCG/src/options.cpp | 15 | ||||
-rw-r--r-- | protocols/IRCG/src/resource.h | 1 |
2 files changed, 0 insertions, 16 deletions
diff --git a/protocols/IRCG/src/options.cpp b/protocols/IRCG/src/options.cpp index 820688af2c..4390e41d31 100644 --- a/protocols/IRCG/src/options.cpp +++ b/protocols/IRCG/src/options.cpp @@ -1815,19 +1815,4 @@ void InitServers() mir_free(szTemp);
RereadServers();
-
- if (g_servers.getCount() == 0) {
- wchar_t *szIniFile = Utils_ReplaceVarsW(L"%temp%\\default_servers.ini");
- FILE *serverFile = _wfopen(szIniFile, L"a");
- if (serverFile) {
- char *pszSvrs = (char*)LockResource(LoadResource(g_plugin.getInst(), FindResource(g_plugin.getInst(), MAKEINTRESOURCE(IDR_SERVERS), L"TEXT")));
- if (pszSvrs)
- fwrite(pszSvrs, 1, mir_strlen(pszSvrs) + 1, serverFile);
- fclose(serverFile);
-
- sttImportIni(szIniFile);
- RereadServers();
- }
- mir_free(szIniFile);
- }
}
diff --git a/protocols/IRCG/src/resource.h b/protocols/IRCG/src/resource.h index 6f21099b10..89630cf71d 100644 --- a/protocols/IRCG/src/resource.h +++ b/protocols/IRCG/src/resource.h @@ -35,7 +35,6 @@ #define IDI_RENAME 188
#define IDI_SERVER 189
#define IDI_DCC 196
-#define IDR_SERVERS 200
#define IDI_EDIT 201
#define IDI_IRCQUESTION 202
#define IDC_ENICK 1000
|