more fixes
This commit is contained in:
parent
b41aba0081
commit
efe1ca104c
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue