3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-26 12:42:50 +01:00

render a single part string for all channel members

This commit is contained in:
Jeremy Latt 2014-02-20 18:20:07 -08:00
parent 7dffa530c2
commit 1486411db1

View File

@ -118,8 +118,9 @@ func (channel *Channel) Part(client *Client, message string) {
return
}
reply := RplPart(client, channel, message)
for member := range channel.members {
member.replies <- RplPart(client, channel, message)
member.replies <- reply
}
channel.Quit(client)