summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 0929d525d..464148a87 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -151,20 +151,6 @@ static void outStringNormal(ChatTab *const tab,
}
}
-impHandler(imitation)
-{
- if (!localPlayer)
- return false;
-
- if (!event.args.empty())
- localPlayer->setImitate(event.args);
- else if (event.tab && event.tab->getType() == ChatTabType::WHISPER)
- localPlayer->setImitate(static_cast<WhisperTab*>(event.tab)->getNick());
- else
- localPlayer->setImitate("");
- return true;
-}
-
impHandler(hack)
{
Net::getChatHandler()->sendRaw(event.args);