From 9ec5126eeb7fde18547bd9e0e4cb69cc1e3b2f5e Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Tue, 14 Apr 2020 21:30:50 +0100 Subject: Replace the flags_required field with an enum. --- src/modules/m_clearchan.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_clearchan.cpp') diff --git a/src/modules/m_clearchan.cpp b/src/modules/m_clearchan.cpp index c40b5116d..6fad233b8 100644 --- a/src/modules/m_clearchan.cpp +++ b/src/modules/m_clearchan.cpp @@ -31,7 +31,7 @@ class CommandClearChan : public Command : Command(Creator, "CLEARCHAN", 1, 3) { syntax = { " [KILL|KICK|G|Z] [:]" }; - flags_needed = 'o'; + access_needed = CmdAccess::OPERATOR; // Stop the linking mod from forwarding ENCAP'd CLEARCHAN commands, see below why force_manual_route = true; -- cgit v1.3.1-10-gc9f91