Fix bug #1093890, Add some irc.noReply() calls

This commit is contained in:
James Vega 2005-01-01 00:38:49 +00:00
parent a4545d45a7
commit 48c5a3950f

View File

@ -190,6 +190,7 @@ class Topic(callbacks.Privmsg):
if not isDo and channel in self.redos: if not isDo and channel in self.redos:
del self.redos[channel] del self.redos[channel]
irc.queueMsg(ircmsgs.topic(channel, newTopic)) irc.queueMsg(ircmsgs.topic(channel, newTopic))
irc.noReply()
def topic(self, irc, msg, args, channel): def topic(self, irc, msg, args, channel):
"""[<channel>] """[<channel>]
@ -341,6 +342,7 @@ class Topic(callbacks.Privmsg):
necessary if the message isn't sent in the channel itself. necessary if the message isn't sent in the channel itself.
""" """
irc.queueMsg(ircmsgs.mode(channel, '+t')) irc.queueMsg(ircmsgs.mode(channel, '+t'))
irc.noReply()
lock = wrap(lock, ['channel', ('haveOp', 'lock the topic')]) lock = wrap(lock, ['channel', ('haveOp', 'lock the topic')])
def unlock(self, irc, msg, args, channel): 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. necessary if the message isn't sent in the channel itself.
""" """
irc.queueMsg(ircmsgs.mode(channel, '-t')) irc.queueMsg(ircmsgs.mode(channel, '-t'))
irc.noReply()
unlock = wrap(unlock, ['channel', ('haveOp', 'unlock the topic')]) unlock = wrap(unlock, ['channel', ('haveOp', 'unlock the topic')])
def restore(self, irc, msg, args, channel): def restore(self, irc, msg, args, channel):