Fix join and refresh built-in
This commit is contained in:
parent
010ca98ffd
commit
08ddefd588
2 changed files with 3 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue