summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-11-02 07:25:36 -0700
committerJared Adams <jaxad0127@gmail.com>2009-11-02 07:25:36 -0700
commitc6d137598a6351dda277c353b6d5058b944376a8 (patch)
tree142be8141183f7c0187dc53c3bea68d31498d291 /src
parent30db6c4375f932370d4fce0c5b35a0cab93a2a18 (diff)
downloadMana-c6d137598a6351dda277c353b6d5058b944376a8.tar.gz
Mana-c6d137598a6351dda277c353b6d5058b944376a8.tar.bz2
Mana-c6d137598a6351dda277c353b6d5058b944376a8.tar.xz
Mana-c6d137598a6351dda277c353b6d5058b944376a8.zip
Fix segfault after login error under eAthena build
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp1
-rw-r--r--src/net/ea/loginhandler.cpp1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 64021eac..9c4aadac 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1300,7 +1300,6 @@ int main(int argc, char *argv[])
currentDialog->addActionListener(&errorListener);
currentDialog = NULL; // OkDialog deletes itself
Net::getGameHandler()->clear();
- Net::getGeneralHandler()->clearHandlers();
break;
default:
diff --git a/src/net/ea/loginhandler.cpp b/src/net/ea/loginhandler.cpp
index ca2b628f..c48e596e 100644
--- a/src/net/ea/loginhandler.cpp
+++ b/src/net/ea/loginhandler.cpp
@@ -155,7 +155,6 @@ void LoginHandler::handleMessage(MessageIn &msg)
errorMessage = _("Rejected from server.");
break;
case 4:
-
errorMessage = _("You have been permanently banned from "
"the game. Please contact the GM team.");
break;