diff --git a/NoSteamManager/scripting/NoSteamManager_Connect.sp b/NoSteamManager/scripting/NoSteamManager_Connect.sp index 46137cec..0e2abf77 100644 --- a/NoSteamManager/scripting/NoSteamManager_Connect.sp +++ b/NoSteamManager/scripting/NoSteamManager_Connect.sp @@ -205,14 +205,14 @@ public void SQL_OnDatabaseConnect(Database db, const char[] error, any data) { if(!db || strlen(error)) { - LogError("Error connecting to database: %s", error); + LogError("Database error: %s", error); return; } g_hDatabase = db; char sQuery[512]; - Format(sQuery, sizeof(sQuery), "CREATE TABLE IF NOT EXISTS connections (`auth` varchar(32), `type` varchar(32), `address` varchar(16), PRIMARY KEY (`auth`))"); + Format(sQuery, sizeof(sQuery), "CREATE TABLE IF NOT EXISTS connections (`auth` varchar(32), `address` varchar(16), PRIMARY KEY (`auth`))"); g_hDatabase.Query(SQL_OnQueryCompleted, sQuery, _, DBPrio_High); } @@ -224,7 +224,7 @@ public void SQL_OnQueryCompleted(Database db, DBResultSet results, const char[] { if(!db || strlen(error)) { - LogError("Error connecting to database: %s", error); + LogError("Query error: %s", error); return; } diff --git a/NoSteamManager/scripting/NoSteamManager_RevEmu.sp b/NoSteamManager/scripting/NoSteamManager_RevEmu.sp index 25de9837..4aa9d511 100644 --- a/NoSteamManager/scripting/NoSteamManager_RevEmu.sp +++ b/NoSteamManager/scripting/NoSteamManager_RevEmu.sp @@ -196,7 +196,7 @@ public void SQL_OnDatabaseConnect(Database db, const char[] error, any data) { if(!db || strlen(error)) { - LogError("Error connecting to database: %s", error); + LogError("Database error: %s", error); return; } @@ -215,7 +215,7 @@ public void SQL_OnQueryCompleted(Database db, DBResultSet results, const char[] { if(!db || strlen(error)) { - LogError("Error connecting to database: %s", error); + LogError("Query error: %s", error); return; }