Show the person's part message (if there is one).

This commit is contained in:
James Vega 2005-02-25 18:53:36 +00:00
parent d43828ecfa
commit 72edc74fbd

View File

@ -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)