 		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 );
+			var userExt:MUCUserExtension = new MUCUserExtension();
+
+			userExt.decline( jid.escaped, undefined, reason );
+
+			message.addExtension( userExt );
 			_connection.send( message );
 		}
 

				return;
			}

			var owner:MUCOwnerExtension = iq.getAllExtensionsByNS( MUCOwnerExtension.NS )[ 0 ];
			var form:FormExtension = owner.getAllExtensionsByNS( FormExtension.NS )[ 0 ];

			if ( form.type == FormExtension.TYPE_REQUEST )
			{

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

			userExt.invite( jid.escaped, undefined, reason );

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

