diff options
Diffstat (limited to 'main.go')
-rw-r--r-- | main.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -185,6 +185,8 @@ func main() { conn = &irc.IRC{} case "xmpp": conn = &xmpp.XMPP{} + default: + log.Fatalf("Invalid protocol %s", params.Protocol) } account := &appservice.Account{ MatrixUser: fmt.Sprintf("@%s:%s", user, config.MatrixDomain), |