Mogrify broadcasts like other chat.

git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4042 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
Michael Bayne
2006-04-21 08:11:30 +00:00
parent 69e84fa9fb
commit 00a84fb80a
@@ -1287,9 +1287,13 @@ public class ChatDirector extends BasicDirector
if (StringUtil.isBlank(args)) {
return "m.usage_broadcast";
}
// mogrify and request to broadcast
requestBroadcast(mogrifyChat(args));
// note the command to be stored in the history
history[0] = command + " ";
requestBroadcast(args);
return ChatCodes.SUCCESS;
}