diff options
| author | 2018-09-06 17:25:38 +0100 | |
|---|---|---|
| committer | 2018-09-06 17:25:38 +0100 | |
| commit | 73bdaff9772ee52f96d45503548356db473102b2 (patch) | |
| tree | bfba033c48ae5a5d17296248511bab589512fa23 /IRCChannel.py | |
| parent | Add !ignore and !unignore in commands.py (diff) | |
| signature | ||
Add !topic and !topicappend in channel_op.py
Diffstat (limited to 'IRCChannel.py')
| -rw-r--r-- | IRCChannel.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/IRCChannel.py b/IRCChannel.py index 11a5bf9e..0dfd6884 100644 --- a/IRCChannel.py +++ b/IRCChannel.py @@ -113,6 +113,8 @@ class Channel(object): self.server.send_mode(self.name, "+b", hostmask) def send_unban(self, hostmask): self.server.send_mode(self.name, "-b", hostmask) + def send_topic(self, topic): + self.server.send_topic(self.name, topic) def mode_or_above(self, user, mode): mode_orders = list(self.server.mode_prefixes.values()) |
