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

catch ghost writes

This commit is contained in:
psyc://psyced.org/~lynX 2009-02-28 19:58:39 +01:00
parent 50c6529a85
commit 2dd7ef3178
2 changed files with 11 additions and 0 deletions

View file

@ -1215,6 +1215,10 @@ w(string mc, string data, mapping vars, mixed source) {
// suppresses the jabber:iq:auth reply in the SASL case
unless (stringp(tag)) return;
break;
case "_notice_session_end":
// jabber clients do not want to know
// (they already closed the connection when we get here)
return;
case "_error_status_place_matches":
PT(("still _error_status_place_matches?\n"))
return;
@ -1280,5 +1284,9 @@ w(string mc, string data, mapping vars, mixed source) {
if (vars["_list_groups"])
vars["_list_groups"] = IMPLODE_XML(vars["_list_groups"], "<group>");
unless (interactive(ME)) {
P1(("%O not interactive. w(%O) from %O.\n", ME, mc, source))
return;
}
return render(mc, data, vars, source);
}