summaryrefslogtreecommitdiff
path: root/include/modes.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modes.h')
-rw-r--r--include/modes.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/modes.h b/include/modes.h
index 0198e6843..aa40c0a4d 100644
--- a/include/modes.h
+++ b/include/modes.h
@@ -216,9 +216,12 @@ template<typename T>
class CoreExport ChannelModeVirtual
: public T
{
- Anope::string base;
+private:
ChannelMode *basech;
+protected:
+ Anope::string base;
+
public:
ChannelModeVirtual(const Anope::string &mname, const Anope::string &basename);