summaryrefslogtreecommitdiff
path: root/src/char/inter.c
diff options
context:
space:
mode:
authorHaruna <haru@dotalux.com>2015-07-15 14:08:59 +0200
committerHaruna <haru@dotalux.com>2015-07-15 14:08:59 +0200
commit9a2f6e96f54ed1c3931bc441ed31da51bf785fdb (patch)
treedeb6150d689b5f4bc0e8fe0e241183d2f6ac1cdc /src/char/inter.c
parentebfc9c3f8d740414b13fff86bad44d077d7ae81e (diff)
parent245cab6b53ef3062608546a6fdb79af23f4e9780 (diff)
downloadhercules-9a2f6e96f54ed1c3931bc441ed31da51bf785fdb.tar.gz
hercules-9a2f6e96f54ed1c3931bc441ed31da51bf785fdb.tar.bz2
hercules-9a2f6e96f54ed1c3931bc441ed31da51bf785fdb.tar.xz
hercules-9a2f6e96f54ed1c3931bc441ed31da51bf785fdb.zip
Merge pull request #564 from 4144/checks
Add missing check to login and char server and remove useless checks from char and map servers
Diffstat (limited to 'src/char/inter.c')
-rw-r--r--src/char/inter.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/inter.c b/src/char/inter.c
index ca041d581..dbb782093 100644
--- a/src/char/inter.c
+++ b/src/char/inter.c
@@ -503,7 +503,7 @@ void mapif_parse_accinfo2(bool success, int map_fd, int u_fd, int u_aid, int acc
inter->msg_to_fd(map_fd, u_fd, u_aid, "-- Account %d --", account_id);
inter->msg_to_fd(map_fd, u_fd, u_aid, "User: %s | GM Group: %d | State: %d", userid, group_id, state);
- if (user_pass && *user_pass != '\0') { /* password is only received if your gm level is greater than the one you're searching for */
+ if (*user_pass != '\0') { /* password is only received if your gm level is greater than the one you're searching for */
if (pin_code && *pin_code != '\0')
inter->msg_to_fd(map_fd, u_fd, u_aid, "Password: %s (PIN:%s)", user_pass, pin_code);
else