1
0
Fork 0
mirror of git://git.psyced.org/git/psyced synced 2024-08-15 03:25:10 +00:00

fippo fixes delay bug in mixin_parse

This commit is contained in:
psyc://psyced.org/~lynX 2010-06-21 13:16:45 +02:00
parent a981a9ed64
commit 4eb20b3c89

View file

@ -214,7 +214,7 @@ jabberMsg(XMLNode node, mixed origin, mixed *su, array(mixed) tu) {
vars["_nick_place"] = vars["_INTERNAL_identification"] || origin; vars["_nick_place"] = vars["_INTERNAL_identification"] || origin;
#if __EFUN_DEFINED__(mktime) #if __EFUN_DEFINED__(mktime)
if ((helper = getchild(node, "x", "jabber:x:delay")) || (helper = getchild(node, "x", "urn:xmpp:delay"))) { if ((helper = getchild(node, "x", "jabber:x:delay")) || (helper = getchild(node, "delay", "urn:xmpp:delay"))) {
string fmt = helper["@stamp"]; string fmt = helper["@stamp"];
int *time = allocate(TM_MAX); int *time = allocate(TM_MAX);
int res; int res;
@ -702,7 +702,7 @@ jabberMsg(XMLNode node, mixed origin, mixed *su, array(mixed) tu) {
// jabber:x:delay namespace or the urm:xmpp:delay namespace // jabber:x:delay namespace or the urm:xmpp:delay namespace
// this is a _status_presence // this is a _status_presence
o = summon_person(tu[UUser]); o = summon_person(tu[UUser]);
if ((helper = getchild(node, "x", "jabber:x:delay")) || (helper = getchild(node, "x", "urn:xmpp:delay"))) { if ((helper = getchild(node, "x", "jabber:x:delay")) || (helper = getchild(node, "delay", "urn:xmpp:delay"))) {
isstatus = 1; isstatus = 1;
} }
// if (!intp(isstatus)) { // if (!intp(isstatus)) {