Added webchat-interval for JsonFileClientUpdateComponent (which should fix sendmessage.php)

This commit is contained in:
FrozenCow 2011-07-18 13:13:02 +02:00
parent 910b963fcd
commit 929a34656b
2 changed files with 4 additions and 0 deletions

View file

@ -57,6 +57,9 @@ public class JsonFileClientUpdateComponent extends ClientUpdateComponent {
public void triggered(JSONObject t) {
s(t, "jsonfile", true);
s(t, "allowwebchat", allowwebchat);
// For 'sendmessage.php'
s(t, "webchat-interval", configuration.getFloat("webchat-interval", 5.0f));
}
});
plugin.events.addListener("initialized", new Event.Listener<Object>() {