mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 13:19:24 +01:00
Fixed strange editing error.
This commit is contained in:
parent
eb44d5cfed
commit
85abb8c3bb
@ -146,6 +146,7 @@ class Relay(callbacks.Privmsg):
|
||||
port = 6667
|
||||
newIrc = irclib.Irc(irc.nick, callbacks=irc.callbacks)
|
||||
driver = drivers.newDriver((server, port), newIrc)
|
||||
newIrc.driver = driver
|
||||
self.ircs[abbreviation] = newIrc
|
||||
self.abbreviations[newIrc] = abbreviation
|
||||
irc.reply(msg, conf.replySuccess)
|
||||
@ -237,6 +238,8 @@ class Relay(callbacks.Privmsg):
|
||||
s = self._formatPrivmsg(msg.nick, abbreviation, msg)
|
||||
for otherIrc in self.ircs.itervalues():
|
||||
if otherIrc != irc:
|
||||
if channel in otherIrc.state.channels:
|
||||
otherIrc.queueMsg(ircmsgs.privmsg(channel, s))
|
||||
|
||||
def doJoin(self, irc, msg):
|
||||
if self.started:
|
||||
|
Loading…
Reference in New Issue
Block a user