From c0c25f189fc08cbbab6941900cd70210c14a5dc4 Mon Sep 17 00:00:00 2001 From: David Haukeness Date: Wed, 22 Apr 2020 18:11:32 +0000 Subject: [PATCH] change url to customurl --- commands.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands.go b/commands.go index 951a637..8378c17 100644 --- a/commands.go +++ b/commands.go @@ -122,7 +122,7 @@ func (b *bot) handleConfigSet(m chat1.MsgSummary) { b.debug("config set called by @%s in %s", m.Sender.Username, m.ConvID) switch len(args) { case 5: - if args[3] == "url" { + if args[3] == "customurl" { // first validate the URL u, err := url.ParseRequestURI(args[4]) if err != nil {