summaryrefslogtreecommitdiff
path: root/src/login/login.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/login/login.c')
-rw-r--r--src/login/login.c19
1 files changed, 9 insertions, 10 deletions
diff --git a/src/login/login.c b/src/login/login.c
index 9a6f61c0b..0fb728ff2 100644
--- a/src/login/login.c
+++ b/src/login/login.c
@@ -1627,7 +1627,6 @@ int parse_fromchar(int fd)
charif_sendallwos(fd, buf, WBUFW(buf,2));
// Save
mmo_auth_sync();
-// printf("parse_fromchar: receiving (from the char-server) of account_reg2 (account id: %d).\n", acc);
if (buf) aFree(buf);
break;
}
@@ -2219,21 +2218,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;