summaryrefslogtreecommitdiff
path: root/include/modules/cap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules/cap.h')
-rw-r--r--include/modules/cap.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/modules/cap.h b/include/modules/cap.h
index 1b33e05bb..cc1cb8d8c 100644
--- a/include/modules/cap.h
+++ b/include/modules/cap.h
@@ -43,7 +43,9 @@ class GenericCap
public:
LocalIntExt ext;
const std::string cap;
- GenericCap(Module* parent, const std::string &Cap) : ext("cap_" + Cap, parent), cap(Cap)
+ GenericCap(Module* parent, const std::string& Cap)
+ : ext("cap_" + Cap, ExtensionItem::EXT_USER, parent)
+ , cap(Cap)
{
}