diff psgxs.js @ 25:c774f2ffb271

Fix a typo.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 01 Nov 2010 00:24:50 +0100
parents 5fc4ee90c1bc
children b2faacfefb90
line wrap: on
line diff
--- a/psgxs.js
+++ b/psgxs.js
@@ -97,7 +97,7 @@ function onIq(stanza) {
 				if (child2)
 					child = child2;
 
-				if (module.pschild && (!child || module.pschild != child2.name))
+				if (module.pschild && (!child || module.pschild != child.name))
 					continue;
 			}