From bbf4d657e77fd39887b9941af1fe75a5ec27d988 Mon Sep 17 00:00:00 2001 From: Jared Adams Date: Sun, 29 Mar 2009 20:35:19 -0600 Subject: Fix up eAthena party handling some more --- src/gui/chat.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/gui/chat.cpp') diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index 10993027..014ac8b5 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -68,12 +68,9 @@ ChatWindow::ChatWindow(): mChatInput->addKeyListener(this); mCurHist = mHistory.end(); -#ifdef EATHENA_SUPPORT - // Read the party prefix - std::string partyPrefix = config.getValue("PartyPrefix", "$"); - mPartyPrefix = (partyPrefix.empty() ? '$' : partyPrefix.at(0)); mReturnToggles = config.getValue("ReturnToggles", "0") == "1"; +#ifdef EATHENA_SUPPORT // If the player had @assert on in the last session, ask the server to // run the @assert command for the player again. Convenience for GMs. if (config.getValue(player_node->getName() + "GMassert", 0)) { @@ -86,13 +83,8 @@ ChatWindow::ChatWindow(): ChatWindow::~ChatWindow() { -#ifdef EATHENA_SUPPORT - char partyPrefix[2] = "."; - *partyPrefix = mPartyPrefix; - config.setValue("PartyPrefix", partyPrefix); config.setValue("ReturnToggles", mReturnToggles ? "1" : "0"); delete mRecorder; -#endif delete_all(mWhispers); delete mItemLinkHandler; } -- cgit v1.2.3-70-g09d2