mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-30 06:49:24 +01:00
Show the person's part message (if there is one).
This commit is contained in:
parent
d43828ecfa
commit
72edc74fbd
@ -401,6 +401,10 @@ class Relay(callbacks.Plugin):
|
|||||||
hostmask = format(' (%s)', msg.prefix)
|
hostmask = format(' (%s)', msg.prefix)
|
||||||
else:
|
else:
|
||||||
hostmask = ''
|
hostmask = ''
|
||||||
|
if len(msg.args) > 1:
|
||||||
|
s = format('%s%s has left on %s (%s)',
|
||||||
|
msg.nick, hostmask, network, msg.args[1])
|
||||||
|
else:
|
||||||
s = format('%s%s has left on %s', msg.nick, hostmask, network)
|
s = format('%s%s has left on %s', msg.nick, hostmask, network)
|
||||||
m = self._msgmaker(channel, s)
|
m = self._msgmaker(channel, s)
|
||||||
self._sendToOthers(irc, m)
|
self._sendToOthers(irc, m)
|
||||||
|
Loading…
Reference in New Issue
Block a user