feat: add username/hostname support with IRC hostmask format #82

Open
clawbot wants to merge 6 commits from feature/username-hostname-support into main
Showing only changes of commit d7bab0bbf8 - Show all commits

View File

@@ -2793,8 +2793,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,
@@ -2863,6 +2862,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,