From 8420823713933de4d6017e902b8cb7abe40403f9 Mon Sep 17 00:00:00 2001 From: Steve Dudenhoeffer Date: Fri, 26 Jan 2007 06:12:25 +0000 Subject: [PATCH] Merged revision 3251 from 1.77; debug commands not counted as running in amx_plugins --- plugins/admincmd.sma | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/admincmd.sma b/plugins/admincmd.sma index 416fd85c..e422eb14 100755 --- a/plugins/admincmd.sma +++ b/plugins/admincmd.sma @@ -571,7 +571,7 @@ public cmdPlugins(id, level, cid) get_plugin(i, filename, 31, name, 31, version, 31, author, 31, status, 31) console_print(id, "%-18.17s %-8.7s %-17.16s %-16.15s %-9.8s", name, version, author, filename, status) - if (equal(status, "running")) + if (status[0]=='d' || status[0]=='r') // "debug" or "running" running++ } console_print(id, "%L", id, "PLUGINS_RUN", num, running)