diff options
Diffstat (limited to 'IrcConnection.py')
-rw-r--r-- | IrcConnection.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/IrcConnection.py b/IrcConnection.py index 7345f6d..08240fe 100644 --- a/IrcConnection.py +++ b/IrcConnection.py @@ -125,3 +125,10 @@ class ircConnectThread(QThread): self.c.join(channel) #TODO: handle errors such as invalid/passworded channel return True + + @pyqtSlot(str) + def part_channel(self, channel): + print(channel) + self.c.part(channel) + #TODO: handle errors such as invalid/passworded channel + return True |