Make channel a independant class
This commit is contained in:
parent
4f3b4099eb
commit
301e23f9f6
3 changed files with 44 additions and 18 deletions
|
|
@ -319,7 +319,10 @@ def join(cmds, servers):
|
|||
return
|
||||
|
||||
if cmds[0] == "join":
|
||||
srv.join(cmds[rd])
|
||||
if len(cmds) > rd + 1:
|
||||
srv.join(cmds[rd], cmds[rd + 1])
|
||||
else:
|
||||
srv.join(cmds[rd])
|
||||
elif cmds[0] == "leave" or cmds[0] == "part":
|
||||
srv.leave(cmds[rd])
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue