summaryrefslogtreecommitdiff
path: root/src/char/inter.c
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2018-02-27 10:52:19 +0100
committerGitHub <noreply@github.com>2018-02-27 10:52:19 +0100
commitea964c75ac213eab98e22cce938d8bf141071179 (patch)
tree89d196899684d164581d7db761730e50b6bfc24a /src/char/inter.c
parentdcd75a822f7a87b910d9c376f8a48fa657f3b007 (diff)
parent7233ee5c6c14b9ac2bfad24fe7bb48400e9f52ae (diff)
downloadhercules-ea964c75ac213eab98e22cce938d8bf141071179.tar.gz
hercules-ea964c75ac213eab98e22cce938d8bf141071179.tar.bz2
hercules-ea964c75ac213eab98e22cce938d8bf141071179.tar.xz
hercules-ea964c75ac213eab98e22cce938d8bf141071179.zip
Merge pull request #1975 from 4144/hidepassword
Dont show password and pincode in @accinfo gm command.
Diffstat (limited to 'src/char/inter.c')
-rw-r--r--src/char/inter.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/char/inter.c b/src/char/inter.c
index baa000d82..b095a046d 100644
--- a/src/char/inter.c
+++ b/src/char/inter.c
@@ -527,12 +527,15 @@ 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);
+// enable this if you really know what you doing.
+#if 0
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
inter->msg_to_fd(map_fd, u_fd, u_aid, "Password: %s", user_pass );
}
+#endif
inter->msg_to_fd(map_fd, u_fd, u_aid, "Account e-mail: %s | Birthdate: %s", email, birthdate);
inter->msg_to_fd(map_fd, u_fd, u_aid, "Last IP: %s (%s)", last_ip, geoip->getcountry(sockt->str2ip(last_ip)));