# # Patch name: decompile_quiet.patch # Patch version: 1 # Author's name: Kurt Fitzner # Author's email: kfitzner@nexus.v-wave.com # Version of PennMUSH: 1.7.2p26 # Date patch made: Tue Jul 13 16:50:16 1999 # Author is willing to support (yes/no): yes # Patch format: diff -u5 # # # This is a contributed PennMUSH patch. Its use is subject to the # same restrictions found in PennMUSH's hdrs/copyrite.h file. # # No warranty is given for this patch. It is not necessarily going # to work on your system, with any version of PennMUSH other than # the one above, etc. # # If the author given above was willing to support the patch, you # should write to the author if you have any questions or problems. Do # *NOT* send email messages to Javelin or any PennMUSH mailing list about # this patch! # # Below this line is the author's description of the patch, # followed by the patch itself. If the patch is in context diff # format, you'll probably apply it by typing: patch < patchfile # in your top-level MUSH directory, unless instructed otherwise # below. # # decompile_quiet.patch # For some inexplicable reason, @decompile prints 'no attributes # found' when you @decompile an object with no attributes set # on it. This is really bad for creating scripts, as you # then need to filter out the bad messages. This patch corrects # that behavior. # --- ../tm/src/look.c Fri Apr 2 10:55:10 1999 +++ src/look.c Tue Jul 13 16:50:16 1999 @@ -1203,12 +1203,12 @@ const char *prefix; { struct dh_args dh; dh.prefix = prefix; dh.name = name; - if (!atr_iter_get(player, thing, pattern, decompile_helper, &dh)) - notify(player, "No attributes found."); +/*if (!atr_iter_get(player, thing, pattern, decompile_helper, &dh)) + notify(player, "No attributes found."); */ } void decompile_locks(player, thing, name) dbref player;