...
 
Commits (2)
......@@ -6,7 +6,7 @@
// setting it to 0 disables it.
// This can be set within the talker by issuing the command ",debug"
var debugmode = 0;
var replayed = false;
// If we don't have any colour info then create space for it
if (mw.store["usercolours"] === undefined) {
mw.store["usercolours"] = "{}";
......@@ -337,8 +337,9 @@ function handleEvent(event) {
}
//if it's us, then do a auto replay but not in debugmode
if (tje.user == mw.whoami() && !debugmode >= 1) {
if (tje.user == mw.whoami() && !debugmode >= 1 && !replayed) {
mw.exec("replay count 50");
replayed = true;
}
//stop talker_join handling
......