diff options
Diffstat (limited to 'purk/core.py')
-rw-r--r-- | purk/core.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/purk/core.py b/purk/core.py index 57af19a..acc23b9 100644 --- a/purk/core.py +++ b/purk/core.py @@ -84,7 +84,7 @@ class Client(object): def run_command(self, command): self.core.run_command(command) - def join_server(self, network_name, port=6667): + def join_server(self, network_name, port=8001): command = 'server '+ network_name + ' ' + str(port) self.run_command(command) @@ -98,5 +98,10 @@ class Client(object): print "** DEBUG :: Add default channel: ", channel self.core.channels.append(channel) + def add_channel_other(self, channelother): + print "** DEBUG :: Add default channel other: ", channelother + self.core.channels.append(channelother) + + def clear_channels(self): self.core.channels = [] |