more fixes
This commit is contained in:
parent
b41aba0081
commit
efe1ca104c
|
@ -358,7 +358,7 @@ func handleCmdQuit(sv *Server, msg *irc.Message) {
|
|||
func handleCmdMode(sv *Server, msg *irc.Message) {
|
||||
if strings.HasPrefix(msg.Args[0], "#") {
|
||||
chid := strings.ToLower(msg.Args[0])
|
||||
if _, exists := chUsers[chid]; !exists {
|
||||
if _, exists := sv.chUsers[chid]; !exists {
|
||||
return
|
||||
}
|
||||
if _, exists = msg.Args[1]; !exists {
|
||||
|
|
Loading…
Reference in New Issue