Skip to content

Commit 6fa5ea8

Browse files
committed
Rename BUFFERTOKEN to EXTJWT
1 parent ac10558 commit 6fa5ea8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pkg/webircgateway/client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -758,11 +758,11 @@ func (c *Client) ProcesIncomingLine(line string) (string, error) {
758758
return "", nil
759759
}
760760

761-
if strings.ToUpper(message.Command) == "BUFFERTOKEN" {
761+
if strings.ToUpper(message.Command) == "EXTJWT" {
762762
tokenFor := message.GetParam(0, "")
763763

764764
tokenM := irc.Message{}
765-
tokenM.Command = "BUFFERTOKEN"
765+
tokenM.Command = "EXTJWT"
766766
tokenData := jwt.MapClaims{
767767
"exp": time.Now().UTC().Add(1 * time.Minute).Unix(),
768768
"iss": c.UpstreamConfig.Hostname,

0 commit comments

Comments
 (0)