mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-25 06:15:37 +03:00
fixed a crash bug
This commit is contained in:
parent
e7858b4cd7
commit
3fbf65103a
@ -460,6 +460,11 @@ int CheckModules(AMX *amx, char error[128])
|
||||
while (a)
|
||||
{
|
||||
CModule &cm = (*a);
|
||||
if (cm.getStatusValue() != MODULE_LOADED)
|
||||
{
|
||||
++a;
|
||||
continue;
|
||||
}
|
||||
if (cm.getInfoNew() &&
|
||||
cm.getInfoNew()->logtag &&
|
||||
!strcasecmp(cm.getInfoNew()->logtag, buffer))
|
||||
|
Loading…
Reference in New Issue
Block a user