diff options
-rw-r--r-- | src/modules/m_cap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_cap.cpp b/src/modules/m_cap.cpp index 4411306ed..8ba28001e 100644 --- a/src/modules/m_cap.cpp +++ b/src/modules/m_cap.cpp @@ -228,7 +228,7 @@ class CommandCap : public SplitCommand manager.HandleList(result, user, is_ls); DisplayResult(user, result); } - else if (subcommand == "CLEAR") + else if ((subcommand == "CLEAR") && (manager.GetProtocol(user) == Cap::CAP_LEGACY)) { std::string result = "ACK :"; manager.HandleClear(user, result); |