1
0
mirror of https://github.com/anope/anope.git synced 2026-07-07 11:23:13 +02:00

Fixed param check from last commit

This commit is contained in:
lethality
2012-01-20 20:50:36 +00:00
parent cdb6bb8ec2
commit 94c302baf3
+1 -1
View File
@@ -482,7 +482,7 @@ class OSDefcon : public Module
return EVENT_STOP;
}
}
else if (command->name == "chanserv/mode" && params[1].equals_ci("LOCK"))
else if (command->name == "chanserv/mode" && params.size() > 1 && params[1].equals_ci("LOCK"))
{
if (DConfig.Check(DEFCON_NO_MLOCK_CHANGE))
{