code: public boolean isValidSpeaker (DObject speakObj, ClientObject speaker, byte mode)
      {
          // have a whitelist for valid modes (no broadcasting, that's done elsewhere)
          switch (mode) {
          default:
              return false;
          case ChatCodes.DEFAULT_MODE:
          case ChatCodes.THINK_MODE:
          case ChatCodes.EMOTE_MODE:
          case ChatCodes.SHOUT_MODE:
              break;
          }
          // only allow people in the room to speak.
          return _plobj.occupants.contains(speaker.getOid());
      }
docs: documentation inherited from interface