summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/atcommand.c2
2 files changed, 3 insertions, 0 deletions
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 <self|party|guild>");
}
clif_displaymessage(fd, atcmd_output);