mirror of https://github.com/Mikaela/Limnoria.git
Fixed action handling
This commit is contained in:
parent
ca08509247
commit
c268078697
|
@ -135,7 +135,11 @@ class Relay(callbacks.Privmsg):
|
||||||
debug.printf('self.ircs = %s' % self.ircs)
|
debug.printf('self.ircs = %s' % self.ircs)
|
||||||
debug.printf('irc = %s' % irc)
|
debug.printf('irc = %s' % irc)
|
||||||
abbreviation = self.abbreviations[irc]
|
abbreviation = self.abbreviations[irc]
|
||||||
s = '<%s@%s> %s' % (msg.nick, abbreviation, msg.args[1])
|
if ircmsgs.isAction(msg):
|
||||||
|
_args1 = '* %s %s' % (msg.nick, ircmsgs.unAction(msg))
|
||||||
|
else:
|
||||||
|
_args1 = msg.args[1]
|
||||||
|
s = '<%s@%s> %s' % (msg.nick, abbreviation, _args1)
|
||||||
for otherIrc in self.ircs:
|
for otherIrc in self.ircs:
|
||||||
debug.printf('otherIrc = %s' % otherIrc)
|
debug.printf('otherIrc = %s' % otherIrc)
|
||||||
if otherIrc != irc:
|
if otherIrc != irc:
|
||||||
|
|
Loading…
Reference in New Issue