summaryrefslogtreecommitdiff
path: root/src/net/ipc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ipc.cpp')
-rw-r--r--src/net/ipc.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/net/ipc.cpp b/src/net/ipc.cpp
index f6df452ac..e4a70abc8 100644
--- a/src/net/ipc.cpp
+++ b/src/net/ipc.cpp
@@ -187,6 +187,8 @@ void IPC::flush()
if (!mThreadLocked)
{
SDL_mutexP(mMutex);
+#ifndef DYECMD
+// probably need enable only commands in tool
if (chatWindow)
{
FOR_EACH (std::vector<std::string>::const_iterator, it,
@@ -195,6 +197,7 @@ void IPC::flush()
chatWindow->chatInput(*it);
}
}
+#endif
mDelayedCommands.clear();
SDL_mutexV(mMutex);
}