From 26e2ecdf63af2a92909183bbcccbec98f8a1cbdb Mon Sep 17 00:00:00 2001 From: ultramage Date: Sat, 9 Aug 2008 15:11:12 +0000 Subject: Fixed @noks leaking internal buffer contents (bugreport:1528). git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@13057 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 1 + src/map/atcommand.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index d2669d084..9c91e8300 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -4,6 +4,7 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. 2008/08/09 + * Fixed @noks leaking internal buffer contents (bugreport:1528) * Now Novices without lvl5 basic skill can be partied (bugreport:1131) * Fixed login printing raw passwdenc passwords to console (bugreport:826) [ultramage] - added strlib function bin2hex() diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 5ea084efd..f0dcb7504 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -8226,6 +8226,8 @@ int atcommand_ksprotection(const int fd, struct map_session_data *sd, const char sd->state.noks = 3; sprintf(atcmd_output, "[ K.S Protection Active - Option: Guild ]"); } + else + sprintf(atcmd_output, "Usage: @noks "); } clif_displaymessage(fd, atcmd_output); -- cgit v1.2.3-60-g2f50