Re: [Code Help] Abbreviations

From: George Greer (greerga@circlemud.org)
Date: 06/15/00


On Thu, 15 Jun 2000, Benjamin Draper wrote:

> I first noticed this a couple of patch levels ago, only I forgot to
>mention it at the time. It isn't a bug, but wouldn't it make sense to
>use isname for the sake of consistency? Obviously George/DAK/Chris
>Gilbert, correct me if I'm wrong!

Players never have multiple names, therefore isname() isn't required. That
section of code is looking for a player only, so it doesn't need isname()
checking for mobiles.

--
George Greer            | The CircleMUD FAQ
greerga@circlemud.org   | http://developer.circlemud.org/docs/FAQ/


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 04/10/01 PDT