fixes
This commit is contained in:
parent
c27ccdf0e9
commit
b41aba0081
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue