Commit b8dedcf0 authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Fix typo in getChatHistory.

parent 4a476abe
......@@ -442,7 +442,7 @@ func (g *group) addToChatHistory(id, user, value string, me bool) {
func (g *group) getChatHistory() []chatHistoryEntry {
g.mu.Lock()
g.mu.Unlock()
defer g.mu.Unlock()
h := make([]chatHistoryEntry, len(g.history))
copy(h, g.history)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment