Skip to content

Commit

Permalink
Unlock auto-messages to prevent dead-locks
Browse files Browse the repository at this point in the history
Signed-off-by: Knut Ahlers <[email protected]>
  • Loading branch information
Luzifer committed May 10, 2021
1 parent ef0767e commit aa735fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions config.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ func (c *configFile) updateAutoMessagesFromConfig(old *configFile) {

nam.lastMessageSent = oam.lastMessageSent
nam.linesSinceLastMessage = oam.linesSinceLastMessage
oam.lock.Unlock()
}
}
}

0 comments on commit aa735fc

Please sign in to comment.