diff --git a/src/Channel.py b/src/Channel.py index 043ee0ba7..3cde8701f 100755 --- a/src/Channel.py +++ b/src/Channel.py @@ -568,7 +568,7 @@ class Channel(callbacks.Privmsg): ircdb.users.setUser(user) irc.replySuccess() addcapability = wrap(addcapability, [('checkChannelCapability', 'op'), - 'hostmask', 'capability']) + 'otherUser', 'capability']) def removecapability(self, irc, msg, args, channel, hostmask, capabilities): """[] [ ...] @@ -598,7 +598,7 @@ class Channel(callbacks.Privmsg): irc.replySuccess() removecapability = wrap(removecapability, [('checkChannelCapability', 'op'), - 'hostmask', 'capability']) + 'otherUser', 'capability']) # XXX This needs to be fix0red to be like Owner.defaultcapability. Or # something else. This is a horrible interface.