mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2024-12-26 06:45: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)
|
while (a)
|
||||||
{
|
{
|
||||||
CModule &cm = (*a);
|
CModule &cm = (*a);
|
||||||
|
if (cm.getStatusValue() != MODULE_LOADED)
|
||||||
|
{
|
||||||
|
++a;
|
||||||
|
continue;
|
||||||
|
}
|
||||||
if (cm.getInfoNew() &&
|
if (cm.getInfoNew() &&
|
||||||
cm.getInfoNew()->logtag &&
|
cm.getInfoNew()->logtag &&
|
||||||
!strcasecmp(cm.getInfoNew()->logtag, buffer))
|
!strcasecmp(cm.getInfoNew()->logtag, buffer))
|
||||||
|
Loading…
Reference in New Issue
Block a user