mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-20 01:19:26 +01:00
Slight optimization.
This commit is contained in:
parent
724b612f52
commit
098fbbfeae
@ -547,7 +547,7 @@ class Relay(callbacks.Privmsg):
|
|||||||
if otherIrc != irc:
|
if otherIrc != irc:
|
||||||
try:
|
try:
|
||||||
if otherIrc.state.getTopic(channel) != topic:
|
if otherIrc.state.getTopic(channel) != topic:
|
||||||
otherIrc.queueMsg(ircmsgs.topic(channel,topic))
|
otherIrc.queueMsg(msg)
|
||||||
except KeyError:
|
except KeyError:
|
||||||
self.log.warning('Not on %s on %s -- '
|
self.log.warning('Not on %s on %s -- '
|
||||||
'Can\'t synchronize topics.',
|
'Can\'t synchronize topics.',
|
||||||
|
Loading…
Reference in New Issue
Block a user