3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

channel: Fix not being able to Part

This commit is contained in:
Daniel Oaks 2017-03-24 21:24:51 +10:00
parent 03fc6f767e
commit f5eeca5339

View File

@ -304,7 +304,7 @@ func (channel *Channel) Part(client *Client, message string) {
for member := range channel.members {
member.Send(nil, client.nickMaskString, "PART", channel.name, message)
}
channel.Quit(client)
channel.quitNoMutex(client)
client.server.logger.Debug("part", fmt.Sprintf("%s left channel %s", client.nick, channel.name))
}