Add comment about buny() function

This commit is contained in:
eleksir
2023-09-02 10:14:27 -07:00
parent 5bb7dccde4
commit 0e9fa089c0

View File

@@ -11,6 +11,8 @@ import (
log "github.com/sirupsen/logrus" log "github.com/sirupsen/logrus"
) )
// buny производит проверку по бело-чёрным спискам. Если presence пришёл от злодея (из чёрного списка), то отправляет
// его в бан.
func buny(v xmpp.Presence) error { //nolint:gocognit,gocyclo func buny(v xmpp.Presence) error { //nolint:gocognit,gocyclo
var err error var err error