summaryrefslogtreecommitdiff
path: root/src/map/script.c
diff options
context:
space:
mode:
authorpanikon <panikon@zoho.com>2014-04-04 23:44:20 -0300
committerpanikon <panikon@zoho.com>2014-04-04 23:44:20 -0300
commit94ef1ee7bbea5dbdfcc6e96adf87a6262bb3ccdb (patch)
tree0eb22c142ee1bdec5477d285577e18946594d8b8 /src/map/script.c
parent694d32a550e8841a6ed6c237880e3d5005e6208d (diff)
downloadhercules-94ef1ee7bbea5dbdfcc6e96adf87a6262bb3ccdb.tar.gz
hercules-94ef1ee7bbea5dbdfcc6e96adf87a6262bb3ccdb.tar.bz2
hercules-94ef1ee7bbea5dbdfcc6e96adf87a6262bb3ccdb.tar.xz
hercules-94ef1ee7bbea5dbdfcc6e96adf87a6262bb3ccdb.zip
Fixed issue: 8131
http://hercules.ws/board/tracker/issue-8131-sc-chat/ -Documented SC_NOCHAT -Corrected the way that pc_setparam was handling SP_MANNER -Added documentation on *sc_status regarding SC_NOCHAT, to mute a user via script you should set Manner
Diffstat (limited to 'src/map/script.c')
-rw-r--r--src/map/script.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script.c b/src/map/script.c
index 296008536..312e40696 100644
--- a/src/map/script.c
+++ b/src/map/script.c
@@ -8687,7 +8687,7 @@ BUILDIN(savepoint) {
sd = script->rid2sd(st);
if( sd == NULL )
- return true;// no player attached, report source
+ return false;// no player attached, report source
str = script_getstr(st,2);
x = script_getnum(st,3);