mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-23 11:09:23 +01:00
Fix bug #1093890, Add some irc.noReply() calls
This commit is contained in:
parent
a4545d45a7
commit
48c5a3950f
@ -190,6 +190,7 @@ class Topic(callbacks.Privmsg):
|
||||
if not isDo and channel in self.redos:
|
||||
del self.redos[channel]
|
||||
irc.queueMsg(ircmsgs.topic(channel, newTopic))
|
||||
irc.noReply()
|
||||
|
||||
def topic(self, irc, msg, args, channel):
|
||||
"""[<channel>]
|
||||
@ -341,6 +342,7 @@ class Topic(callbacks.Privmsg):
|
||||
necessary if the message isn't sent in the channel itself.
|
||||
"""
|
||||
irc.queueMsg(ircmsgs.mode(channel, '+t'))
|
||||
irc.noReply()
|
||||
lock = wrap(lock, ['channel', ('haveOp', 'lock the topic')])
|
||||
|
||||
def unlock(self, irc, msg, args, channel):
|
||||
@ -350,6 +352,7 @@ class Topic(callbacks.Privmsg):
|
||||
necessary if the message isn't sent in the channel itself.
|
||||
"""
|
||||
irc.queueMsg(ircmsgs.mode(channel, '-t'))
|
||||
irc.noReply()
|
||||
unlock = wrap(unlock, ['channel', ('haveOp', 'unlock the topic')])
|
||||
|
||||
def restore(self, irc, msg, args, channel):
|
||||
|
Loading…
Reference in New Issue
Block a user