From c64c2cbcd09b5ad8eaeb7c53be1ec9ef51acddf4 Mon Sep 17 00:00:00 2001 From: lukeroge Date: Wed, 28 Mar 2012 10:21:07 +1300 Subject: [PATCH] Added part() --- core/irc.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/core/irc.py b/core/irc.py index ff9a45f..50ff379 100755 --- a/core/irc.py +++ b/core/irc.py @@ -184,6 +184,9 @@ class IRC(object): def join(self, channel): self.cmd("JOIN", [channel]) + + def part(self, channel): + self.cmd("PART", [channel]) def msg(self, target, text): self.cmd("PRIVMSG", [target, text])