mirror of
https://github.com/tbamud/tbamud.git
synced 2026-01-28 03:46:09 +01:00
Fixed spamming SYSERR mob using char data that was filling up TBA logs. Added to doc/syserr.txt --Rumble
This commit is contained in:
parent
d2072e3d01
commit
30f241d4c7
3 changed files with 16 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue