diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-04 18:54:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-04 18:54:18 +0300 |
commit | 829709f07a16e945af416cb1df23d0fcefdba8e0 (patch) | |
tree | 1a40a1dd51724970b71c8833f27d18a39b38a62f /src/net/tmwa/charserverhandler.cpp | |
parent | a3310b047fb85052429a979eb0ebd02d47c43964 (diff) | |
download | manaplus-829709f07a16e945af416cb1df23d0fcefdba8e0.tar.gz manaplus-829709f07a16e945af416cb1df23d0fcefdba8e0.tar.bz2 manaplus-829709f07a16e945af416cb1df23d0fcefdba8e0.tar.xz manaplus-829709f07a16e945af416cb1df23d0fcefdba8e0.zip |
eathena: allow delete characters if account have non default email.
Diffstat (limited to 'src/net/tmwa/charserverhandler.cpp')
-rw-r--r-- | src/net/tmwa/charserverhandler.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/tmwa/charserverhandler.cpp b/src/net/tmwa/charserverhandler.cpp index 2412a094d..af373ca77 100644 --- a/src/net/tmwa/charserverhandler.cpp +++ b/src/net/tmwa/charserverhandler.cpp @@ -292,7 +292,8 @@ void CharServerHandler::newCharacter(const std::string &name, const int slot, outMsg.writeInt8(race, "class"); } -void CharServerHandler::deleteCharacter(Net::Character *const character) +void CharServerHandler::deleteCharacter(Net::Character *const character, + const std::string &email A_UNUSED) { if (!character) return; |