changeset 25:c774f2ffb271

Fix a typo.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Mon, 01 Nov 2010 00:24:50 +0100
parents b80ab94da447
children f2e9365bc8ec
files psgxs.js
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;
 			}