summaryrefslogtreecommitdiff
path: root/src/admin
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2014-05-20 20:33:25 -0700
committerBen Longbons <b.r.longbons@gmail.com>2014-05-20 20:35:29 -0700
commitcac49afdef0992b93d8718fd928d73d721d434f4 (patch)
tree3625817f1b14fffc9de572ca25beb98b02b97c00 /src/admin
parentd4605dd35249d5ab55a604c94dcf3ea8f8be8297 (diff)
downloadtmwa-cac49afdef0992b93d8718fd928d73d721d434f4.tar.gz
tmwa-cac49afdef0992b93d8718fd928d73d721d434f4.tar.bz2
tmwa-cac49afdef0992b93d8718fd928d73d721d434f4.tar.xz
tmwa-cac49afdef0992b93d8718fd928d73d721d434f4.zip
:%s/^\( *\)\([^ ].*\)\?\(LOG\|PRINTF\)[A-Z_]*(\(.*,\n\)\+\zs\(\1 [^ ]\)\@! */\1 /
Diffstat (limited to 'src/admin')
-rw-r--r--src/admin/ladmin.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/admin/ladmin.cpp b/src/admin/ladmin.cpp
index 8d001a0..7b702ed 100644
--- a/src/admin/ladmin.cpp
+++ b/src/admin/ladmin.cpp
@@ -623,7 +623,7 @@ void display_help(ZString param)
{
if (command)
PRINTF("Unknown command [%s] for help. Displaying of all commands.\n"_fmt,
- AString(command));
+ AString(command));
PRINTF(" help/? -- Display this help\n"_fmt);
PRINTF(" help/? [command] -- Display the help of the command\n"_fmt);
PRINTF(" add <account_name> <sex> <password> -- Create an account with default email\n"_fmt);
@@ -848,7 +848,7 @@ void bansetaccountsub(AccountName name, XString date, XString time_)
&& day > 30) || (month == 1 && day > 29))
{
PRINTF("Please give a correct value for a day of this month (%d).\n"_fmt,
- month);
+ month);
LADMIN_LOG("Invalid day for this month ('banset' or 'ban' command).\n"_fmt);
return;
}
@@ -1243,7 +1243,7 @@ void listaccount(ZString param, int type)
}
LADMIN_LOG("Request to login-server to obtain the list of accounts from %d to %d.\n"_fmt,
- list_first, list_last);
+ list_first, list_last);
Packet_Fixed<0x7920> fixed_20;
fixed_20.start_account_id = list_first;
@@ -1306,7 +1306,7 @@ void changememo(ZString param)
PRINTF("Memo is too long (%zu characters).\n"_fmt, len);
PRINTF("Please input a memo of 254 bytes at the maximum.\n"_fmt);
LADMIN_LOG("Email is too long (%zu characters). Please input a memo of 254 bytes at the maximum.\n"_fmt,
- len);
+ len);
return;
}
@@ -1674,7 +1674,7 @@ void timesetaccount(ZString param)
&& day > 30) ||(month == 1 && day > 29))
{
PRINTF("Please give a correct value for a day of this month (%d).\n"_fmt,
- month);
+ month);
LADMIN_LOG("Invalid day for this month ('timeset' command).\n"_fmt);
return;
}
@@ -2092,7 +2092,7 @@ void parse_fromlogin(Session *s)
}
// asking of the following acounts
LADMIN_LOG("Request to login-server to obtain the list of accounts from %d to %d (complement).\n"_fmt,
- list_first, list_last);
+ list_first, list_last);
Packet_Fixed<0x7920> fixed_20;
fixed_20.start_account_id = list_first;
fixed_20.end_account_id = list_last;
@@ -2756,7 +2756,7 @@ void parse_fromlogin(Session *s)
break;
case 7:
PRINTF(" Statut: 7 [You are Prohibited to log in until %s]\n"_fmt,
- error_message);
+ error_message);
break;
case 8:
PRINTF(" Statut: 8 [Server is jammed due to over populated]\n"_fmt);