summaryrefslogtreecommitdiff
path: root/include/modes.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2024-10-04 19:04:31 +0100
committerSadie Powell <sadie@witchery.services>2024-10-04 19:04:31 +0100
commit3da9b6df0d4a02225f82f809d76fb8f5a27cb6a4 (patch)
treef4e98c9349d31aac2effa81eb93f28c7fc918976 /include/modes.h
parent0ab0e4737c823cf0b3f26db550579c2f550e06ff (diff)
Fix matching stacked extbans.
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);