Fixed spamming SYSERR mob using char data that was filling up TBA logs. Added to doc/syserr.txt --Rumble

This commit is contained in:
Rumble 2012-09-08 20:45:37 +00:00
parent d2072e3d01
commit 30f241d4c7
3 changed files with 16 additions and 3 deletions

View file

@ -161,7 +161,7 @@ ACMD(do_put)
static int can_take_obj(struct char_data *ch, struct obj_data *obj)
{
if (!PRF_FLAGGED(ch, PRF_NOHASSLE)) {
if (!IS_NPC(ch) && !PRF_FLAGGED(ch, PRF_NOHASSLE)) {
if (IS_CARRYING_N(ch) >= CAN_CARRY_N(ch)) {
act("$p: you can't carry that many items.", FALSE, ch, obj, 0, TO_CHAR);
return (0);