mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
render a single part string for all channel members
This commit is contained in:
parent
7dffa530c2
commit
1486411db1
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user