Skip to content

Commit

Permalink
Fixed RID Return
Browse files Browse the repository at this point in the history
  • Loading branch information
RumbleFrog committed Apr 23, 2017
1 parent 446da28 commit 9c6d04e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions EventLogs.sp
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ SOFTWARE.
#pragma semicolon 1

#define PLUGIN_AUTHOR "Fishy"
#define PLUGIN_VERSION "1.0.64"
#define PLUGIN_VERSION "1.0.65"

#include <sourcemod>
#include <steamtools>
Expand Down Expand Up @@ -173,7 +173,7 @@ public int NativeLogPlugin(Handle plugin, int numParams)

Format(PluginSQL, sizeof PluginSQL, "INSERT INTO EventLogs_Plugin (`host`, `name`, `level`, `message`) VALUES ('%s', '%s', '%s', '%s')", g_IP, Escaped_Name, Level, Escaped_Message);

SQL_TQuery(hDB, OnRowInsert, PluginSQL);
SQL_TQuery(hDB, OnPluginLog, PluginSQL);

return RID;
}
Expand Down

0 comments on commit 9c6d04e

Please sign in to comment.