You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -125,11 +159,16 @@ public Action OnLogAction(Handle source, Identity ident, int client, int target,
125
159
intiTick=-1;
126
160
intretValTime=-1;
127
161
#if defined _autorecorder_included
128
-
if (AutoRecorder_IsDemoRecording())
162
+
if (g_bNative_IsDemoRecording&&AutoRecorder_IsDemoRecording())
129
163
{
130
-
iCount=AutoRecorder_GetDemoRecordCount();
131
-
iTick=AutoRecorder_GetDemoRecordingTick();
132
-
retValTime=AutoRecorder_GetDemoRecordingTime();
164
+
if (g_bNative_GetDemoRecordCount)
165
+
iCount=AutoRecorder_GetDemoRecordCount();
166
+
167
+
if (g_bNative_GetDemoRecordingTick)
168
+
iTick=AutoRecorder_GetDemoRecordingTick();
169
+
170
+
if (g_bNative_GetDemoRecordingTime)
171
+
retValTime=AutoRecorder_GetDemoRecordingTime();
133
172
}
134
173
if (retValTime==-1)
135
174
sDate="N/A";
@@ -231,7 +270,7 @@ public void OnWebHookExecuted(HTTPResponse response, DataPack pack)
231
270
PrintToServer("[%s] Failed to send the webhook (ID: %d). Resending it in %0.1f seconds.. (%d/%d)", PLUGIN_NAME, iMsgIndex, fTimer, retries[iMsgIndex], g_cvWebhookRetry.IntValue);
232
271
return;
233
272
} else {
234
-
if (!g_Plugin_ExtDiscord)
273
+
if (!g_bNative_ExtendedDiscord_LogError)
235
274
{
236
275
LogError("[%s] Failed to send the webhook after %d retries, aborting.", PLUGIN_NAME, retries[iMsgIndex]);
0 commit comments