0

Implement grabbing +B flag, connect command sequence fixes

* Implement i-am-bot, +B, flag grabbing.
* Move collections to internal packages.
* Postpone nickserv login sequence to 376 and 422 events, as it should be after motd message
* Postpone join channels to 376 and 422 events, as it should be after motd message
This commit is contained in:
eleksir
2025-03-30 15:41:46 +03:00
parent 4ca2fffb33
commit 8c24a1d8c6
7 changed files with 184 additions and 40 deletions

View File

@@ -361,8 +361,6 @@ func ircMsgParser(channel string, nick string, user string, source string, msg s
log.Debugf("Sent msg to redis channel %s: %s", config.Redis.Channel, string(data))
}
}
return
}
// redisMsgParser парсит json-чики прилетевшие из REDIS-ки, причём, json-чики должны быть относительно валидными
@@ -443,8 +441,6 @@ func redisMsgParser(msg string) {
imChan <- iMsg{ChatId: j.Chatid, Text: message}
}
}
return
}
/* vim: set ft=go noet ai ts=4 sw=4 sts=4: */