shithub: qk1

Download patch

ref: 1d23f8a32e4a26c71b21376e21cf539aee95b831
parent: dcf466b34d62b087c003ecc6347a43e247217b65
author: Sigrid Solveig Haflínudóttir <ftrvxmtrx@gmail.com>
date: Sat Feb 13 15:29:16 EST 2021

"profile" cmd: no action unless an active server

--- a/pr_exec.c
+++ b/pr_exec.c
@@ -204,7 +204,10 @@
 	int			max;
 	int			num;
 	int			i;
-	
+
+	if (!sv.active)
+		return;
+
 	num = 0;	
 	do
 	{
--- a/qw/pr_exec.c
+++ b/qw/pr_exec.c
@@ -203,7 +203,10 @@
 	int			max;
 	int			num;
 	int			i;
-	
+
+	if(!sv.active)
+		return;
+
 	num = 0;	
 	do
 	{