Fix accidental removal of import path and invalid indirect.

develop v1.0.2
Icedream 2017-02-22 18:52:33 +01:00
parent a111a35e66
commit c68a24193c
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 2 additions and 1 deletions

View File

@ -8,6 +8,7 @@ import (
"net/url" "net/url"
"github.com/mvdan/xurls" "github.com/mvdan/xurls"
"github.com/thoj/go-ircevent"
"gopkg.in/alecthomas/kingpin.v2" "gopkg.in/alecthomas/kingpin.v2"
"github.com/icedream/irc-medialink/manager" "github.com/icedream/irc-medialink/manager"
@ -159,7 +160,7 @@ func main() {
default: default:
} }
}) })
if !*noInvite { if !noInvite {
conn.AddCallback("INVITE", func(e *irc.Event) { conn.AddCallback("INVITE", func(e *irc.Event) {
// Is this INVITE not for us? // Is this INVITE not for us?
if !strings.EqualFold(e.Arguments[0], conn.GetNick()) { if !strings.EqualFold(e.Arguments[0], conn.GetNick()) {