aboutsummaryrefslogtreecommitdiffstats
path: root/include/modules
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/cloak.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/modules/cloak.h b/include/modules/cloak.h
index d1d7347fc..108068e70 100644
--- a/include/modules/cloak.h
+++ b/include/modules/cloak.h
@@ -102,6 +102,12 @@ public:
*/
virtual void GetLinkData(Module::LinkData& data, std::string& compatdata) = 0;
+ /** Retrieves the name of this cloaking method. */
+ std::string_view GetName() const
+ {
+ return std::string_view(provname.c_str() + 6);
+ }
+
/** Determines whether this method is provided by the specified service provider.
* @param prov The service provider to check.
*/