Skip to content

Commit

Permalink
Merge pull request darkerz7#48 from Rushaway/master
Browse files Browse the repository at this point in the history
fix: Prevent SQL error
  • Loading branch information
darkerz7 authored Jul 2, 2024
2 parents cfc6bc6 + c1dd6c2 commit 9561e68
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions addons/sourcemod/scripting/entwatch/module_eban.inc
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,9 @@ stock void EWM_Eban_OnPluginStart()
stock void EWM_Eban_OnClientPostAdminCheck(int iClient)
{
if(g_iDBStatus != 4)
return;
char sTQuery[1024];
FormatEx(sTQuery, sizeof(sTQuery),
"SELECT SUM(cnt) AS total_count " ...
Expand Down
2 changes: 1 addition & 1 deletion addons/sourcemod/scripting/entwatch_dz.sp
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ public Plugin myinfo =
name = "EntWatch",
author = "DarkerZ[RUS], AgentWesker, notkoen, sTc2201, maxime1907, Cmer, .Rushaway, Dolly",
description = "Notify players about entity interactions.",
version = "3.DZ.59",
version = "3.DZ.60",
url = "dark-skill.ru"
};

Expand Down

0 comments on commit 9561e68

Please sign in to comment.