summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/charserverhandler.cpp13
-rw-r--r--src/net/ea/charserverhandler.h2
2 files changed, 0 insertions, 15 deletions
diff --git a/src/net/ea/charserverhandler.cpp b/src/net/ea/charserverhandler.cpp
index 43a080a49..2e1e3b262 100644
--- a/src/net/ea/charserverhandler.cpp
+++ b/src/net/ea/charserverhandler.cpp
@@ -165,19 +165,6 @@ void CharServerHandler::processCharDelete(Net::MessageIn &msg A_UNUSED)
BLOCK_END("CharServerHandler::processCharDelete")
}
-void CharServerHandler::processCharDeleteFailed(Net::MessageIn &msg A_UNUSED)
-{
- BLOCK_START("CharServerHandler::processCharDeleteFailed")
- unlockCharSelectDialog();
- // TRANSLATORS: error message
- new OkDialog(_("Error"), _("Failed to delete character."),
- // TRANSLATORS: ok dialog button
- _("OK"),
- DialogType::ERROR,
- true, true, nullptr, 260);
- BLOCK_END("CharServerHandler::processCharDeleteFailed")
-}
-
void CharServerHandler::clear()
{
delete_all(mCharacters);
diff --git a/src/net/ea/charserverhandler.h b/src/net/ea/charserverhandler.h
index 170b84267..305fee0ee 100644
--- a/src/net/ea/charserverhandler.h
+++ b/src/net/ea/charserverhandler.h
@@ -60,8 +60,6 @@ class CharServerHandler notfinal : public Net::CharServerHandler
static void processCharDelete(Net::MessageIn &msg);
- static void processCharDeleteFailed(Net::MessageIn &msg);
-
virtual void clear() override final;
protected: