summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-11 18:09:33 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-11 18:09:33 +0300
commit17dcb835103ac05012c5a7eafa8c7702cef53390 (patch)
tree422c28adfba13f2161fcfc36943a3903e531490b /src/client.cpp
parent84d53b7bb98bb44696ed1bc2c3f132e51394ac00 (diff)
downloadManaVerse-17dcb835103ac05012c5a7eafa8c7702cef53390.tar.gz
ManaVerse-17dcb835103ac05012c5a7eafa8c7702cef53390.tar.bz2
ManaVerse-17dcb835103ac05012c5a7eafa8c7702cef53390.tar.xz
ManaVerse-17dcb835103ac05012c5a7eafa8c7702cef53390.zip
Add some fixes after automatic checks.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/client.cpp b/src/client.cpp
index 2d73b791f..467d49f3b 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -2193,25 +2193,6 @@ void Client::accountLogin(LoginData *const data) const
serverConfig.setValue("remember", remember);
}
-bool Client::copyFile(const std::string &configPath,
- const std::string &oldConfigPath) const
-{
- FILE *const configFile = fopen(oldConfigPath.c_str(), "r");
-
- if (configFile)
- {
- fclose(configFile);
-
- std::ifstream ifs(oldConfigPath.c_str(), std::ios::binary);
- std::ofstream ofs(configPath.c_str(), std::ios::binary);
- ofs << ifs.rdbuf();
- ifs.close();
- ofs.close();
- return true;
- }
- return false;
-}
-
void Client::storeSafeParameters() const
{
bool tmpHwaccel;