From 9ea8a9e55b10d691cfbb111fec8950f1125ddd69 Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Thu, 5 Aug 2004 04:34:19 +0000 Subject: [PATCH] Changed the *permban* commands to *ban* commands. --- src/Channel.py | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/Channel.py b/src/Channel.py index 43cf67dc7..6193c1b30 100755 --- a/src/Channel.py +++ b/src/Channel.py @@ -429,7 +429,7 @@ class Channel(callbacks.Privmsg): irc.replySuccess() unlobotomize = privmsgs.checkChannelCapability(unlobotomize, 'op') - def permban(self, irc, msg, args, channel): + def ban(self, irc, msg, args, channel): """[] If you have the #channel,op capability, this will effect a permanent @@ -449,9 +449,9 @@ class Channel(callbacks.Privmsg): c.addBan(banmask) ircdb.channels.setChannel(channel, c) irc.replySuccess() - permban = privmsgs.checkChannelCapability(permban, 'op') + ban = privmsgs.checkChannelCapability(ban, 'op') - def unpermban(self, irc, msg, args, channel): + def unban(self, irc, msg, args, channel): """[] If you have the #channel,op capability, this will remove the permanent @@ -463,19 +463,19 @@ class Channel(callbacks.Privmsg): c.removeBan(banmask) ircdb.channels.setChannel(channel, c) irc.replySuccess() - unpermban = privmsgs.checkChannelCapability(unpermban, 'op') + unban = privmsgs.checkChannelCapability(unban, 'op') - def permbans(self, irc, msg, args, channel): + def bans(self, irc, msg, args, channel): """[] If you have the #channel,op capability, this will show you the - current permbans on #channel. + current bans on #channel. """ c = ircdb.channels.getChannel(channel) if c.bans: irc.reply(utils.commaAndify(map(utils.dqrepr, c.bans))) else: - irc.reply('There are currently no permbans on %s' % channel) + irc.reply('There are currently no permanent bans on %s' % channel) def ignore(self, irc, msg, args, channel): """[]