diff options
Diffstat (limited to 'src/map')
-rw-r--r-- | src/map/atcommand.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/map/atcommand.c b/src/map/atcommand.c index 9ff33d152..e0c4b5405 100644 --- a/src/map/atcommand.c +++ b/src/map/atcommand.c @@ -8205,6 +8205,10 @@ atcommand_pettalk( if(!sd->status.pet_id || !(pd=sd->pd))
return -1;
+ if (sd->sc.count && //no "chatting" while muted.
+ (sd->sc.data[SC_BERSERK].timer!=-1 || sd->sc.data[SC_NOCHAT].timer != -1))
+ return -1;
+
if (sscanf(message, "%99[^\n]", mes) < 1)
return -1;
|