mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-22 10:42:52 +01:00
fix bad ref in part command
This commit is contained in:
parent
a17490e801
commit
81a0f19390
@ -371,7 +371,7 @@ func (m *PartCommand) HandleServer(server *Server) {
|
||||
server.mutex.Unlock()
|
||||
|
||||
if channel == nil {
|
||||
m.Client().Reply(ErrNoSuchChannel(server, channel.name))
|
||||
m.Client().Reply(ErrNoSuchChannel(server, chname))
|
||||
continue
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user