forked from jshiffer/matterbridge
Fix deadlock on reconnect (irc). Closes #757
This commit is contained in:
parent
3c14a0891e
commit
380c38674c
@ -156,8 +156,11 @@ func (b *Birc) handleOtherAuth(client *girc.Client, event girc.Event) {
|
|||||||
b.handleNickServ()
|
b.handleNickServ()
|
||||||
b.handleRunCommands()
|
b.handleRunCommands()
|
||||||
// we are now fully connected
|
// we are now fully connected
|
||||||
|
// only send on first connection
|
||||||
|
if b.FirstConnection {
|
||||||
b.connected <- nil
|
b.connected <- nil
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
func (b *Birc) handlePrivMsg(client *girc.Client, event girc.Event) {
|
func (b *Birc) handlePrivMsg(client *girc.Client, event girc.Event) {
|
||||||
if b.skipPrivMsg(event) {
|
if b.skipPrivMsg(event) {
|
||||||
|
@ -29,7 +29,7 @@ UseTLS=false
|
|||||||
#OPTIONAL (default false)
|
#OPTIONAL (default false)
|
||||||
UseSASL=false
|
UseSASL=false
|
||||||
|
|
||||||
#Enable to not verify the certificate on your irc server. i
|
#Enable to not verify the certificate on your irc server.
|
||||||
#e.g. when using selfsigned certificates
|
#e.g. when using selfsigned certificates
|
||||||
#OPTIONAL (default false)
|
#OPTIONAL (default false)
|
||||||
SkipTLSVerify=true
|
SkipTLSVerify=true
|
||||||
|
Loading…
Reference in New Issue
Block a user