Archived
1

Removed trailing 1 from profiles attack

This commit is contained in:
2018-01-23 20:37:48 +04:00
parent 7780fb4f00
commit c5d8590b87
2 changed files with 3 additions and 3 deletions

View File

@@ -4,8 +4,8 @@
package users
import (
"github.com/go-telegram-bot-api/telegram-bot-api"
"git.wtfteam.pro/fat0troll/i2_bot/lib/dbmapping"
"github.com/go-telegram-bot-api/telegram-bot-api"
"regexp"
"strconv"
"strings"
@@ -67,7 +67,7 @@ func (u *Users) ParseProfile(update *tgbotapi.Update, playerRaw *dbmapping.Playe
crystallsInt := 0
weapon := ""
pokememes := make(map[string]string)
powerInt := 1
powerInt := 0
// Filling information
// We don't know how many strings we got, so we iterating each other