diff options
-rw-r--r-- | src/ladmin/ladmin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ladmin/ladmin.cpp b/src/ladmin/ladmin.cpp index d3cfe3b..1d18e29 100644 --- a/src/ladmin/ladmin.cpp +++ b/src/ladmin/ladmin.cpp @@ -1778,7 +1778,7 @@ void prompt(void) Iprintf("\033[0m"); fflush(stdout); - if (!eathena_interactive_session && !buf) + if (!std::cin) exit(0); if (!buf.is_print()) |