diff options
author | Ben Longbons <b.r.longbons@gmail.com> | 2014-05-20 20:33:25 -0700 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2014-05-20 20:35:29 -0700 |
commit | cac49afdef0992b93d8718fd928d73d721d434f4 (patch) | |
tree | 3625817f1b14fffc9de572ca25beb98b02b97c00 /src/map/intif.cpp | |
parent | d4605dd35249d5ab55a604c94dcf3ea8f8be8297 (diff) | |
download | tmwa-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/map/intif.cpp')
-rw-r--r-- | src/map/intif.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/map/intif.cpp b/src/map/intif.cpp index 1ad9cd4..5d8bfd6 100644 --- a/src/map/intif.cpp +++ b/src/map/intif.cpp @@ -282,9 +282,9 @@ int intif_parse_WisMessage(Session *s) if (battle_config.etc_log) { PRINTF("intif_parse_wismessage: id: %d, from: %s, to: %s\n"_fmt, - RFIFOL(s, 4), - from, - to); + RFIFOL(s, 4), + from, + to); } sd = map_nick2sd(to); // Searching destination player if (sd != NULL && sd->status_key.name == to) @@ -389,14 +389,14 @@ int intif_parse_LoadStorage(Session *s) { // Already open.. lets ignore this update if (battle_config.error_log) PRINTF("intif_parse_LoadStorage: storage received for a client already open (User %d:%d)\n"_fmt, - sd->status_key.account_id, sd->status_key.char_id); + sd->status_key.account_id, sd->status_key.char_id); return 1; } if (stor->dirty) { // Already have storage, and it has been modified and not saved yet! Exploit! [Skotlex] if (battle_config.error_log) PRINTF("intif_parse_LoadStorage: received storage for an already modified non-saved storage! (User %d:%d)\n"_fmt, - sd->status_key.account_id, sd->status_key.char_id); + sd->status_key.account_id, sd->status_key.char_id); return 1; } |