Commits

murarth committed def7fc5

No longer mutate User.ServerNotices in UMode_s.HandlePre

Comments (0)

Files changed (1)

 		for {
 			if _, ok := snoNames[byte(IRCRuneToLower(rune(i)))]; ok {
 				if !sno.HasMode(i) {
-					sno.SetMode(i)
 					emit.Add(sign, i, "")
 				}
 			}
 		for {
 			if _, ok := snoNames[i]; ok {
 				if sno.HasMode(i) {
-					sno.RemoveMode(i)
 					emit.Add(sign, i, "")
 				}
 			}