1.1 --- a/plugins/basecomm.sp Thu Oct 09 14:24:30 2008 +1300
1.2 +++ b/plugins/basecomm.sp Thu Oct 09 20:18:16 2008 +1300
1.3 @@ -192,6 +192,11 @@
1.4 {
1.5 new client = GetClientOfUserId(GetEventInt(event, "userid"));
1.6
1.7 + if (!client)
1.8 + {
1.9 + return;
1.10 + }
1.11 +
1.12 if (g_Muted[client])
1.13 {
1.14 SetClientListeningFlags(client, VOICE_MUTED);
1.15 @@ -206,6 +211,11 @@
1.16 {
1.17 new client = GetClientOfUserId(GetEventInt(event, "userid"));
1.18
1.19 + if (!client)
1.20 + {
1.21 + return;
1.22 + }
1.23 +
1.24 if (g_Muted[client])
1.25 {
1.26 SetClientListeningFlags(client, VOICE_MUTED);