aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorGravatar Sadie Powell2024-09-13 11:52:26 +0100
committerGravatar Sadie Powell2024-09-13 11:52:26 +0100
commit45f10a7f6f3dfdca38051c14020c2f6bd2646054 (patch)
tree4ea2058020c32463562ae0efa5a8696d0f84696e /include
parentRaise an exception if an extban name or letter is already in use. (diff)
Only remove extbans on unload if provided by the right module.
Diffstat (limited to 'include')
-rw-r--r--include/base.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/base.h b/include/base.h
index c2c7397d8..f655eb4b6 100644
--- a/include/base.h
+++ b/include/base.h
@@ -116,6 +116,7 @@ public:
return *this;
}
+ inline T* ptr() const { return value; }
inline operator bool() const { return (value != nullptr); }
inline operator T*() const { return value; }
inline T* operator->() const { return value; }