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:
@@ -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))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user