From c9ad4723e1464e0e10065dd90e5c9f1e949766cf Mon Sep 17 00:00:00 2001 From: Matthew Faltys Date: Thu, 7 Sep 2017 13:55:58 -0500 Subject: [PATCH] Remove unneded comments --- lorebot/lorebot.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/lorebot/lorebot.go b/lorebot/lorebot.go index 7a9f92c..31cf72a 100644 --- a/lorebot/lorebot.go +++ b/lorebot/lorebot.go @@ -320,8 +320,6 @@ func lorestatus(rtm *slack.RTM, ev *slack.MessageEvent, redisClient *redis.Clien func newhandler(rtm *slack.RTM, ev *slack.MessageEvent, message, newType string, redisClient *redis.Client) { // dont allow certain chars - //if strings.ContainsAny(message, ";:.,'\"\\/!$&^\(\)") { - println(message) if strings.ContainsAny(message, ";:,.'\"!$%^*()/\\") { // reject user input, it has unwanted chars rtm.SendMessage(rtm.NewOutgoingMessage("entry could not be created, unwanted characters", ev.Channel))