diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/trinitycore/CliRunnable.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/trinitycore/CliRunnable.cpp b/src/trinitycore/CliRunnable.cpp index 0fca32e355f..92923b3a6a4 100644 --- a/src/trinitycore/CliRunnable.cpp +++ b/src/trinitycore/CliRunnable.cpp @@ -393,15 +393,6 @@ void CliRunnable::run() { fflush(stdout); - // Safe exit thread - #ifdef linux - while (!kb_hit_return() && !World::IsStopped()) - // With this, we limit CLI to 10commands/second - usleep(100); - if (World::IsStopped()) - break; - #endif - char *command_str ; // = fgets(commandbuf,sizeof(commandbuf),stdin); #if PLATFORM == WINDOWS |