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_sasl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_sasl.cpp') diff --git a/src/modules/m_sasl.cpp b/src/modules/m_sasl.cpp index 4c2b74510..26efc6c51 100644 --- a/src/modules/m_sasl.cpp +++ b/src/modules/m_sasl.cpp @@ -369,7 +369,7 @@ class CommandSASL : public Command SimpleExtItem& authExt; CommandSASL(Module* Creator, SimpleExtItem& ext) : Command(Creator, "SASL", 2), authExt(ext) { - this->flags_needed = FLAG_SERVERONLY; // should not be called by users + this->access_needed = CmdAccess::SERVER; // should not be called by users } CmdResult Handle(User* user, const Params& parameters) override -- cgit v1.3.1-10-gc9f91