summaryrefslogtreecommitdiff
path: root/src/map/pc.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/pc.c')
-rw-r--r--src/map/pc.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/map/pc.c b/src/map/pc.c
index b6964fc6e..42b79ed92 100644
--- a/src/map/pc.c
+++ b/src/map/pc.c
@@ -7466,7 +7466,13 @@ int pc_setparam(struct map_session_data *sd,int type,int val)
break;
case SP_MANNER:
sd->status.manner = val;
- break;
+ if( val < 0 )
+ sc_start(NULL, &sd->bl, SC_NOCHAT, 100, 0, 0);
+ else {
+ status_change_end(&sd->bl, SC_NOCHAT, INVALID_TIMER);
+ clif->manner_message(sd, 5);
+ }
+ return 1; // status_change_start/status_change_end already sends packets warning the client
case SP_FAME:
sd->status.fame = val;
break;