From 54dcccb892f91f5452d1fdae6b00d2923455c6d1 Mon Sep 17 00:00:00 2001 From: Hamcha Date: Thu, 31 Mar 2016 10:24:13 +0100 Subject: [PATCH] MSPA: Disable test --- mspa/main.go | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/mspa/main.go b/mspa/main.go index 1c8e109..cdf2ed8 100644 --- a/mspa/main.go +++ b/mspa/main.go @@ -41,14 +41,16 @@ func process(b *tg.Broker, update tg.APIMessage) { delete(apichat, update.Chat.ChatID) broker.SendTextMessage(update.Chat, "Ok! Non ti notificherò più", &update.MessageID) } - if *(update.Text) == "!tesths" { - isok, data := getupd8("showupd8(\"009309\", \"[S] ACT 6 ACT 6 ACT 5\", 12);\r\n") - if isok { - advert(data) - } else { - broker.SendTextMessage(update.Chat, "Test fallito :/", &update.MessageID) + /* + if *(update.Text) == "!tesths" { + isok, data := getupd8("showupd8(\"009309\", \"[S] ACT 6 ACT 6 ACT 5\", 12);\r\n") + if isok { + advert(data) + } else { + broker.SendTextMessage(update.Chat, "Test fallito :/", &update.MessageID) + } } - } + */ } func advert(upd8 Upd8) {