PennMUSH Community

Changeset 1113

Show
Ignore:
Timestamp:
09/25/07 12:31:33 (1 year ago)
Author:
walker
Message:

#7452: @config/set crash bug.

This fixes, I hope, the @config/set crash bug. I couldn't duplicate it, so this
might not be the situation.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 1.8.3/branches/devel/hdrs/extchat.h

    r928 r1113  
    221221extern int save_chatdb(FILE * fp); 
    222222extern void do_cemit 
    223   (dbref player, const char *name, const char *msg, int noisy); 
     223  (dbref player, const char *name, const char *msg, int flags); 
    224224extern void do_chan_user_flags 
    225225  (dbref player, char *name, const char *isyn, int flag, int silent); 
  • 1.8.3/branches/devel/src/conf.c

    r945 r1113  
    680680    } 
    681681  } 
    682   if (from_cmd && ((!GoodObject(n) && n != NOTHING) || IsGarbage(n))) { 
     682  if (from_cmd && ((!GoodObject(n) && n != NOTHING) || (n > 0 && IsGarbage(n)))) { 
    683683    do_rawlog(LT_ERR, 
    684684              T("CONFIG: attempt to set option %s to a bad dbref (#%d)"),