summaryrefslogtreecommitdiff
path: root/src/map/atcommand.c
diff options
context:
space:
mode:
authorultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-09 15:11:12 +0000
committerultramage <ultramage@54d463be-8e91-2dee-dedb-b68131a5f0ec>2008-08-09 15:11:12 +0000
commit26e2ecdf63af2a92909183bbcccbec98f8a1cbdb (patch)
treeff589676359372cfb3f8c2af75fb4c2e7c237545 /src/map/atcommand.c
parent2e07aaf60fb745a764b7657c276d81afa7dd9dc8 (diff)
downloadhercules-26e2ecdf63af2a92909183bbcccbec98f8a1cbdb.tar.gz
hercules-26e2ecdf63af2a92909183bbcccbec98f8a1cbdb.tar.bz2
hercules-26e2ecdf63af2a92909183bbcccbec98f8a1cbdb.tar.xz
hercules-26e2ecdf63af2a92909183bbcccbec98f8a1cbdb.zip
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
Diffstat (limited to 'src/map/atcommand.c')
-rw-r--r--src/map/atcommand.c2
1 files changed, 2 insertions, 0 deletions
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);