summaryrefslogtreecommitdiff
path: root/src/gui/windows/charselectdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/charselectdialog.cpp')
-rw-r--r--src/gui/windows/charselectdialog.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp
index 56b0c5930..860c27570 100644
--- a/src/gui/windows/charselectdialog.cpp
+++ b/src/gui/windows/charselectdialog.cpp
@@ -276,11 +276,6 @@ void CharSelectDialog::action(const ActionEvent &event)
{
client->setState(State::CHANGEEMAIL);
}
- else if (eventId == "unregister")
- {
- charServerHandler->clear();
- client->setState(State::UNREGISTER);
- }
else if (eventId == "try delete character")
{
if (mDeleteDialog && mDeleteIndex != -1)