mirror of
https://github.com/ChronosX88/psyced.git
synced 2024-12-05 00:22:19 +00:00
twitter has interesting ways to break
This commit is contained in:
parent
75b77d4568
commit
6a4b0cee42
@ -88,14 +88,16 @@ void status_update(string text) {
|
||||
|
||||
parse_statuses(string data) {
|
||||
mixed wurst;
|
||||
string nick;
|
||||
string nick, err;
|
||||
object o;
|
||||
mapping d, p;
|
||||
int i;
|
||||
|
||||
if (!data || data == "") return;
|
||||
|
||||
wurst = parse_json(data);
|
||||
if (err = catch(wurst = parse_json(data))) {
|
||||
P1(("%O: Twitter is over capacity. %O\n", ME, err))
|
||||
}
|
||||
if (mappingp(wurst))
|
||||
wurst = ({ wurst });
|
||||
else unless (pointerp(wurst)) {
|
||||
|
Loading…
Reference in New Issue
Block a user