mirror of
https://github.com/ergochat/ergo.git
synced 2025-12-29 06:22:07 -08:00
fix whois reply
This commit is contained in:
parent
e1c4c8e8cc
commit
c1edddb9a1
2 changed files with 9 additions and 6 deletions
|
|
@ -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()
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue