Cluster chat is still a special case: make a special call to the filter
method of the chat director prior to sending cluster chat. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@2796 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: SpotSceneDirector.java,v 1.31 2003/08/13 00:11:03 mdb Exp $
|
||||
// $Id: SpotSceneDirector.java,v 1.32 2003/09/16 21:26:14 ray Exp $
|
||||
|
||||
package com.threerings.whirled.spot.client;
|
||||
|
||||
@@ -270,7 +270,10 @@ public class SpotSceneDirector extends BasicDirector
|
||||
return false;
|
||||
}
|
||||
|
||||
_sservice.clusterSpeak(_ctx.getClient(), message, mode);
|
||||
message = _chatdir.filter(message, null, true);
|
||||
if (message != null) {
|
||||
_sservice.clusterSpeak(_ctx.getClient(), message, mode);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user