From 46086017e46264d06c72a7ca09f7416615f3bc1b Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 8 Jan 2017 15:59:37 +0200 Subject: [PATCH] Return false from is_supported for disabled extensions --- source/extension.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/source/extension.cpp b/source/extension.cpp index 2dc298c1..692037c3 100644 --- a/source/extension.cpp +++ b/source/extension.cpp @@ -79,6 +79,9 @@ Require::Require(const Extension &ext) bool is_supported(const string &ext) { + if(is_disabled(ext)) + return false; + static set extensions; static bool init_done = false; -- 2.43.0