Fix join and refresh built-in

This commit is contained in:
Némunaire 2012-07-17 00:40:08 +02:00
parent 010ca98ffd
commit 08ddefd588
2 changed files with 3 additions and 2 deletions

View file

@ -131,7 +131,7 @@ class Server(threading.Thread):
def join(self, chan, password = None):
if chan is not None and self.connected and chan not in self.channels:
chn = xmlparser.module_state.Module_State("channel")
chn = xmlparser.module_state.ModuleState("channel")
chn["name"] = chan
chn["password"] = password
self.node.addChild(chn)