diff options
Diffstat (limited to 'modules/commands/cs_enforce.cpp')
-rw-r--r-- | modules/commands/cs_enforce.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/commands/cs_enforce.cpp b/modules/commands/cs_enforce.cpp index e40676186..b683332f5 100644 --- a/modules/commands/cs_enforce.cpp +++ b/modules/commands/cs_enforce.cpp @@ -27,7 +27,7 @@ class CommandCSEnforce : public Command * if it's off. */ bool hadsecureops = ci->HasExt("SECUREOPS"); - ci->ExtendMetadata("SECUREOPS"); + ci->Extend<bool>("SECUREOPS"); for (Channel::ChanUserList::iterator it = ci->c->users.begin(), it_end = ci->c->users.end(); it != it_end; ++it) { @@ -37,7 +37,7 @@ class CommandCSEnforce : public Command } if (!hadsecureops) - ci->Shrink("SECUREOPS"); + ci->Shrink<bool>("SECUREOPS"); source.Reply(_("Secureops enforced on %s."), ci->name.c_str()); } |