diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-05-13 06:06:21 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-05-13 06:07:22 -0600 |
commit | 92c331d47a2559b6a820395b95446d4fba3f3eee (patch) | |
tree | 758dd4aefb5d6cf436fc4fb8125e9ac1e24456b4 /src/gui | |
parent | 85ce3c416f6d6060c522ef6b3b5834f27f83cc5b (diff) | |
download | mana-client-92c331d47a2559b6a820395b95446d4fba3f3eee.tar.gz mana-client-92c331d47a2559b6a820395b95446d4fba3f3eee.tar.bz2 mana-client-92c331d47a2559b6a820395b95446d4fba3f3eee.tar.xz mana-client-92c331d47a2559b6a820395b95446d4fba3f3eee.zip |
Remove Aethyra's custom visible GM system
Very hackish and would require altering eAthena. It also isn't very
portable; if you use the same character name on multiple servers and are
a GM on one of them, the client will try to make you a GM on the other.
Diffstat (limited to 'src/gui')
-rw-r--r-- | src/gui/chat.cpp | 8 | ||||
-rw-r--r-- | src/gui/widgets/chattab.cpp | 7 |
2 files changed, 0 insertions, 15 deletions
diff --git a/src/gui/chat.cpp b/src/gui/chat.cpp index eca224fc..414d1e02 100644 --- a/src/gui/chat.cpp +++ b/src/gui/chat.cpp @@ -105,14 +105,6 @@ ChatWindow::ChatWindow(): 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)) { - std::string cmd = "@assert"; - chatInput(cmd); - } -#endif mRecorder = new Recorder(this); } diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp index defc06f0..711680d1 100644 --- a/src/gui/widgets/chattab.cpp +++ b/src/gui/widgets/chattab.cpp @@ -162,13 +162,6 @@ void ChatTab::chatLog(std::string line, int own, bool ignoreRecord) lineColor = "##S"; } -#ifdef EATHENA_SUPPORT - if (tmp.nick.empty() && tmp.text.substr(0, 17) == "Visible GM status") - { - player_node->setGM(true); - } -#endif - // Get the current system time time_t t; time(&t); |