From 860ca9175987af12779397c2925bbc526b02e545 Mon Sep 17 00:00:00 2001 From: Etzelia Date: Fri, 16 Oct 2020 23:25:48 -0500 Subject: [PATCH] Update go-mcm and change Eq to Exact Signed-off-by: Etzelia --- discord/register.go | 2 +- go.mod | 2 +- go.sum | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/discord/register.go b/discord/register.go index f5b3289..a2cc9b6 100644 --- a/discord/register.go +++ b/discord/register.go @@ -58,7 +58,7 @@ func init() { nickname = player.Username if len(apps) == 0 { - apps, err = models.Application(models.NewDjangoBuilder().Eq(django.ApplicationID, player.ApplicationID)) + apps, err = models.Application(models.NewDjangoBuilder().Exact(django.ApplicationID, player.ApplicationID)) if err != nil { return "Something went wrong, please contact staff", nil } diff --git a/go.mod b/go.mod index 69cbd96..65542c2 100644 --- a/go.mod +++ b/go.mod @@ -7,7 +7,7 @@ require ( github.com/bwmarrin/discordgo v0.21.1 github.com/gorilla/websocket v1.4.2 // indirect go.etcd.io/bbolt v1.3.4 - go.etztech.xyz/go-mcm v1.3.0 + go.etztech.xyz/go-mcm v1.3.1 go.etztech.xyz/inspiro v0.0.0-20200606185551-edfdf9da2359 go.jolheiser.com/beaver v1.0.2 go.jolheiser.com/gojang v0.0.2 diff --git a/go.sum b/go.sum index 2e1439d..573fed0 100644 --- a/go.sum +++ b/go.sum @@ -10,6 +10,8 @@ go.etcd.io/bbolt v1.3.4 h1:hi1bXHMVrlQh6WwxAy+qZCV/SYIlqo+Ushwdpa4tAKg= go.etcd.io/bbolt v1.3.4/go.mod h1:G5EMThwa9y8QZGBClrRx5EY+Yw9kAhnjy3bSjsnlVTQ= go.etztech.xyz/go-mcm v1.3.0 h1:ULhLEHRJZYh+hIgHfp7IuqpOn6H7kkrVxnnfzyZLQM0= go.etztech.xyz/go-mcm v1.3.0/go.mod h1:Hz2YULB3sN/aQA8cPSm2d6LM3E3qTMspzfRCIAD/1dc= +go.etztech.xyz/go-mcm v1.3.1 h1:RLdOQrMgw0eP7bsfRRbXLW8c5/RaJ5Mg7i/ESFaUwvY= +go.etztech.xyz/go-mcm v1.3.1/go.mod h1:Hz2YULB3sN/aQA8cPSm2d6LM3E3qTMspzfRCIAD/1dc= go.etztech.xyz/inspiro v0.0.0-20200606185551-edfdf9da2359 h1:j/ZeoAj185wHfCSYD52Kt/69i3Bzk1MXN4Qh1yP6+P4= go.etztech.xyz/inspiro v0.0.0-20200606185551-edfdf9da2359/go.mod h1:+fC1WzJm/oS4UEgqr1jPouWerxBys52lTTDA94/5bf8= go.jolheiser.com/beaver v1.0.2 h1:KA2D6iO8MQhZi1nZYi/Chak/f1Cxfrs6b1XO623+Khk=