mirror of
https://github.com/jeremyd/ergo.git
synced 2026-04-27 16:09:59 -07:00
fix whois reply
This commit is contained in:
@@ -526,12 +526,12 @@ func (m *WhoisCommand) HandleServer(server *Server) {
|
||||
continue
|
||||
}
|
||||
client.RplWhoisUser(mclient)
|
||||
if client.flags[Operator] {
|
||||
if mclient.flags[Operator] {
|
||||
client.RplWhoisOperator(mclient)
|
||||
}
|
||||
client.RplWhoisIdle(mclient)
|
||||
client.MultilineReply(client.WhoisChannelsNames(), RPL_WHOISCHANNELS,
|
||||
"%s :%s", client.Nick())
|
||||
client.MultilineReply(mclient.WhoisChannelsNames(), RPL_WHOISCHANNELS,
|
||||
"%s :%s", mclient.Nick())
|
||||
client.RplEndOfWhois()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user