This is tested.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4793 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -526,7 +526,6 @@ public class ChatDirector extends BasicDirector
|
|||||||
*/
|
*/
|
||||||
public function filter (msg :String, otherUser :Name, outgoing :Boolean) :String
|
public function filter (msg :String, otherUser :Name, outgoing :Boolean) :String
|
||||||
{
|
{
|
||||||
// TODO: needs testing
|
|
||||||
_filters.apply(function (observer :ChatFilter) :void {
|
_filters.apply(function (observer :ChatFilter) :void {
|
||||||
if (msg != null) {
|
if (msg != null) {
|
||||||
msg = observer.filter(msg, otherUser, outgoing);
|
msg = observer.filter(msg, otherUser, outgoing);
|
||||||
|
|||||||
Reference in New Issue
Block a user