diff options
Diffstat (limited to 'fun/tvl-ebooks/mkov-engine/main.go')
-rw-r--r-- | fun/tvl-ebooks/mkov-engine/main.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fun/tvl-ebooks/mkov-engine/main.go b/fun/tvl-ebooks/mkov-engine/main.go index 64742fb3d662..f7894a10b36f 100644 --- a/fun/tvl-ebooks/mkov-engine/main.go +++ b/fun/tvl-ebooks/mkov-engine/main.go @@ -80,9 +80,9 @@ func main() { func generateMesasge(msg incomingIRC, redisc *redis.Client) string { text := msg.Params[1] - username := msg.Name - supressionUsernames[strings.ToLower(username)] = true - supressionUsernames[strings.ToLower(username)+":"] = true + username := strings.ToLower(msg.Name) + supressionUsernames[username] = true + supressionUsernames[username+":"] = true text = strings.ToLower(text) text = strings.Replace(text, ",", "", -1) |