fix: correct misplaced doc comments for handleOper and handleAway
Some checks failed
check / check (push) Failing after 1m50s
Some checks failed
check / check (push) Failing after 1m50s
This commit is contained in:
@@ -2793,8 +2793,7 @@ func (hdlr *Handlers) HandleServerInfo() http.HandlerFunc {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// handleAway handles the AWAY command. An empty body
|
// handleOper handles the OPER command for server operator authentication.
|
||||||
// clears the away status; a non-empty body sets it.
|
|
||||||
func (hdlr *Handlers) handleOper(
|
func (hdlr *Handlers) handleOper(
|
||||||
writer http.ResponseWriter,
|
writer http.ResponseWriter,
|
||||||
request *http.Request,
|
request *http.Request,
|
||||||
@@ -2863,6 +2862,8 @@ func (hdlr *Handlers) handleOper(
|
|||||||
http.StatusOK)
|
http.StatusOK)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// handleAway handles the AWAY command. An empty body
|
||||||
|
// clears the away status; a non-empty body sets it.
|
||||||
func (hdlr *Handlers) handleAway(
|
func (hdlr *Handlers) handleAway(
|
||||||
writer http.ResponseWriter,
|
writer http.ResponseWriter,
|
||||||
request *http.Request,
|
request *http.Request,
|
||||||
|
|||||||
Reference in New Issue
Block a user