Pass the mode to the speaker validator.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@3429 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -602,7 +602,8 @@ public class PlaceManager
|
||||
}
|
||||
|
||||
// documentation inherited from interface
|
||||
public boolean isValidSpeaker (DObject speakObj, ClientObject speaker)
|
||||
public boolean isValidSpeaker (DObject speakObj, ClientObject speaker,
|
||||
byte mode)
|
||||
{
|
||||
// only allow people in the room to speak
|
||||
return _plobj.occupants.contains(speaker.getOid());
|
||||
|
||||
Reference in New Issue
Block a user