fix
This commit is contained in:
parent
74476a2cfb
commit
fc4d8c0ff4
2
sql.go
2
sql.go
@ -185,7 +185,7 @@ func initDB() {
|
||||
|
||||
func putUnprocessedMsg(m ChatWarsMessage) (int64, error) {
|
||||
res, err := db.Exec(`INSERT INTO obj (obj_type_id, obj_sub_type_id)
|
||||
VALUES (3 , 1);`)
|
||||
VALUES (` + strconv.Itoa(objTypeMessage) + `,` + strconv.Itoa(objSubTypeMessageUnknown) + `);`)
|
||||
if err != nil {
|
||||
return 0, err
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user