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

Merged
sneak merged 8 commits from feature/username-hostname-support into main 2026-03-20 06:53:36 +01:00
Showing only changes of commit b7999b201f - Show all commits

View File

@@ -3157,8 +3157,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,
@@ -3227,6 +3226,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,