diff options
Diffstat (limited to 'src/login_sql/login.c')
-rw-r--r-- | src/login_sql/login.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/login_sql/login.c b/src/login_sql/login.c index 5d76c2d93..45fc548c5 100644 --- a/src/login_sql/login.c +++ b/src/login_sql/login.c @@ -1589,21 +1589,21 @@ int parse_console(char* buf) ShowInfo("Console command :%s", command); if( strcmpi("shutdown", command) == 0 || - strcmpi("exit", command) == 0 || - strcmpi("quit", command) == 0 || - strcmpi("end", command) == 0 ) + strcmpi("exit", command) == 0 || + strcmpi("quit", command) == 0 || + strcmpi("end", command) == 0 ) runflag = 0; else if( strcmpi("alive", command) == 0 || - strcmpi("status", command) == 0 ) + strcmpi("status", command) == 0 ) ShowInfo(CL_CYAN"Console: "CL_BOLD"I'm Alive."CL_RESET"\n"); else if( strcmpi("help", command) == 0 ) { - printf(CL_BOLD"Help of commands:"CL_RESET"\n"); - printf(" To shutdown the server:\n"); - printf(" 'shutdown|exit|quit|end'\n"); - printf(" To know if server is alive:\n"); - printf(" 'alive|status'\n"); + ShowInfo(CL_BOLD"Help of commands:"CL_RESET"\n"); + ShowInfo(" To shutdown the server:\n"); + ShowInfo(" 'shutdown|exit|quit|end'\n"); + ShowInfo(" To know if server is alive:\n"); + ShowInfo(" 'alive|status'\n"); } return 0; |