This commit is contained in:
Andreas Neue 2016-07-25 12:09:43 +02:00
parent c27ccdf0e9
commit b41aba0081
1 changed files with 1 additions and 1 deletions

View File

@ -326,7 +326,7 @@ func handleCmdJoin(sv *Server, msg *irc.Message) {
if _, exists := sv.chUsers[chid]; !exists { if _, exists := sv.chUsers[chid]; !exists {
sv.chUsers[chid] = make(map[string]string) sv.chUsers[chid] = make(map[string]string)
sv.chTopics[chid] = "" sv.chTopics[chid] = ""
sv.chModes[chid] = make(map[string]map[string]bool) sv.chModes[chid] = make(map[string]bool)
} }
if _, exists := sv.chUsers[chid][clid]; exists { if _, exists := sv.chUsers[chid][clid]; exists {
return return