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,7 +401,11 @@ class Relay(callbacks.Plugin):
|
||||
hostmask = format(' (%s)', msg.prefix)
|
||||
else:
|
||||
hostmask = ''
|
||||
s = format('%s%s has left on %s', msg.nick, hostmask, network)
|
||||
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