Warning: session_start(): open(/var/lib/php/sessions/sess_q6e4ebrmm7lrdle52rob703pfa, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51
Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
static class ChatLine {
int id, room;
S who, text;
boolean isBot, auth;
}
static int suckWebChat_lastID;
static long suckWebChat_lastSuck;
static int suckWebChat_room = 1;
static L suckWebChat(S myName) {
ret suckWebChat(myName, 1);
}
// suckFirst = how many lines to suck on startup (history)
static L suckWebChat(S myName, int suckFirst) {
if (now() < suckWebChat_lastSuck + 500)
print("Warning: Sucking a lot :)");
suckWebChat_lastSuck = now();
int n = suckWebChat_lastID == 0 ? suckFirst : 1000;
Map data = (Map) jsonDecode(loadPageSilently("tinybrain.de:8080/tb-int/groupchat.json.lines.php?room=" + suckWebChat_room + "&fromID=" + suckWebChat_lastID + "&n=" + n
+ "&who=" + urlencode(myName)));
L