summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dynref.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/include/dynref.h b/include/dynref.h
index e605ab794..1d05b35a0 100644
--- a/include/dynref.h
+++ b/include/dynref.h
@@ -84,10 +84,16 @@ class dynamic_reference_nocheck : public dynamic_reference_base
};
class ModeHandler;
-class ModeReference : public dynamic_reference_nocheck<ModeHandler>
+class ChanModeReference : public dynamic_reference_nocheck<ModeHandler>
{
public:
- ModeReference(Module* mod, const std::string& modename)
+ ChanModeReference(Module* mod, const std::string& modename)
: dynamic_reference_nocheck<ModeHandler>(mod, "mode/" + modename) {}
};
+class UserModeReference : public dynamic_reference_nocheck<ModeHandler>
+{
+ public:
+ UserModeReference(Module* mod, const std::string& modename)
+ : dynamic_reference_nocheck<ModeHandler>(mod, "umode/" + modename) {}
+};