mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-14 07:59:31 +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()
|
server.mutex.Unlock()
|
||||||
|
|
||||||
if channel == nil {
|
if channel == nil {
|
||||||
m.Client().Reply(ErrNoSuchChannel(server, channel.name))
|
m.Client().Reply(ErrNoSuchChannel(server, chname))
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user