commit e7df201cc996247d9f676c5cee5eb767553514f5
Author: Wim <wim@42.be>
Date: Sun Jan 28 19:15:13 2018 +0000
diff --git a/gateway/gateway.go b/gateway/gateway.go
index 6535c60..6e32768 100644
--- a/gateway/gateway.go
+++ b/gateway/gateway.go
@@ -946 +9410 @@ func (gw *Gateway) mapChannelConfig(cfg []config.Bridge, direction string) {
if isApi(br.Account) {
br.Channel = "api"
}
+ // make sure to lowercase irc channels in config #348
+ if strings.HasPrefix(br.Account, "irc.") {
+ br.Channel = strings.ToLower(br.Channel)
+ }
ID := br.Channel + br.Account
if _, ok := gw.Channels[ID]; !ok {
channel := &config.ChannelInfo{Name: br.Channel, Direction: direction, ID: ID, Options: br.Options, Account: br.Account,