From b9ac1c6033a0b32ca9984f23223d9fc167415b10 Mon Sep 17 00:00:00 2001 From: Ben Longbons Date: Sat, 28 Dec 2013 12:33:52 -0800 Subject: Implement core formatter --- src/login/login.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/login') diff --git a/src/login/login.cpp b/src/login/login.cpp index bd466e1..6ba09d2 100644 --- a/src/login/login.cpp +++ b/src/login/login.cpp @@ -534,7 +534,7 @@ bool extract(XString line, AuthData *ad) static int mmo_auth_init(void) { - int GM_count = 0; + int gm_count = 0; io::ReadFile in(account_filename); if (!in.is_open()) @@ -570,14 +570,14 @@ int mmo_auth_init(void) auth_data.push_back(ad); if (isGM(ad.account_id) > 0) - GM_count++; + gm_count++; if (ad.account_id >= account_id_count) account_id_count = ad.account_id + 1; } FString str = STRPRINTF("%s has %zu accounts (%d GMs)\n", - account_filename, auth_data.size(), GM_count); + account_filename, auth_data.size(), gm_count); PRINTF("%s: %s\n", __PRETTY_FUNCTION__, str); LOGIN_LOG("%s\n", line); -- cgit v1.2.3-60-g2f50