 								pendingNickname = null;
 							}
 
-							var user:MUCUserExtension = presence.getAllExtensionsByNS( MUCUserExtension.NS )[ 0 ];
-							for each ( var status:MUCStatus in user.statuses )
+							userExt = presence.getAllExtensionsByNS( MUCUserExtension.NS )[ 0 ];
+							for each ( var status:MUCStatus in userExt.statuses )
 							{
 								switch ( status.code )
 								{

		public function decline( jid:UnescapedJID, reason:String ):void
		{
			var message:Message = new Message( roomJID.escaped )
			var muc:MUCUserExtension = new MUCUserExtension();

			muc.decline( jid.escaped, undefined, reason );

			message.addExtension( muc );
			_connection.send( message );
		}


		public function requestConfiguration():void
		{
			var iq:IQ = new IQ( roomJID.escaped, IQ.TYPE_GET );
			var ownerExt:MUCOwnerExtension = new MUCOwnerExtension();

			iq.callback = finish_requestConfiguration;
			iq.addExtension( ownerExt );

			_connection.send( iq );
		}
