From 377457516008fa693cef8b3870e83f416a0e1b0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Johnny=20Bergstr=C3=B6m?= Date: Mon, 21 Feb 2005 00:23:16 +0000 Subject: [PATCH] Fixed a bug in dispInfo: if client disconnected fast enough we got a native error in client_print :-D --- plugins/adminhelp.sma | 2 ++ 1 file changed, 2 insertions(+) diff --git a/plugins/adminhelp.sma b/plugins/adminhelp.sma index 47539334..49212039 100755 --- a/plugins/adminhelp.sma +++ b/plugins/adminhelp.sma @@ -88,6 +88,8 @@ public cmdHelp(id,level,cid) { #if defined DISPLAY_MSG public dispInfo(id) { + if (!is_user_connected(id)) + return client_print(id,print_chat,"%L",id,"TYPE_HELP") new nextmap[32] get_cvar_string("amx_nextmap",nextmap,31)