Changeset 112

Show
Ignore:
Timestamp:
10/14/07 16:24:27 (3 years ago)
Author:
elghinn
Message:
 
Location:
adventure
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • adventure/adventuremuc.py

    r111 r112  
    22# -*- coding: utf-8 -*- 
    33 
    4 from xmpp import Component, JID, NS_COMPONENT_1 
     4from xmpp import Component, JID, NS_COMPONENT_ACCEPT 
    55from sys import argv 
    66from world import World 
     
    88class AdventureMUC(Component): 
    99    def __init__(self, jid, password, server, port=5347): 
    10         self.Namespace = NS_COMPONENT_1 
    11         self.DBG = '' 
     10        self.Namespace = NS_COMPONENT_ACCEPT 
     11        self.DBG = 'component' 
    1212        Component.__init__(self, server=server, port=port, debug=[]) 
    1313        self.worlds = {} 
  • adventure/world.py

    r107 r112  
    1313        self.players = dict() 
    1414 
    15         doc = xml_parse(filename).documentElement 
     15        doc = xml_parse(filename) 
    1616        doc_getAttribute = doc.documentElement.getAttribute 
    1717        self.node = doc.documentElement.getAttribute('node')