fix: correct misplaced doc comments for handleOper and handleAway

This commit is contained in:
user
2026-03-17 10:55:46 -07:00
parent d85956ca1a
commit b7999b201f

View File

@@ -3157,8 +3157,7 @@ func (hdlr *Handlers) HandleServerInfo() http.HandlerFunc {
}
}
// handleAway handles the AWAY command. An empty body
// clears the away status; a non-empty body sets it.
// handleOper handles the OPER command for server operator authentication.
func (hdlr *Handlers) handleOper(
writer http.ResponseWriter,
request *http.Request,
@@ -3227,6 +3226,8 @@ func (hdlr *Handlers) handleOper(
http.StatusOK)
}
// handleAway handles the AWAY command. An empty body
// clears the away status; a non-empty body sets it.
func (hdlr *Handlers) handleAway(
writer http.ResponseWriter,
request *http.Request,