mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +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)
|
||||
else:
|
||||
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)
|
||||
m = self._msgmaker(channel, s)
|
||||
self._sendToOthers(irc, m)
|
||||
|
Loading…
Reference in New Issue
Block a user