summaryrefslogtreecommitdiff
path: root/include/base.h
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-12 20:23:26 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2009-10-12 20:23:26 +0000
commit4ab15e865571f78cd8ea22c47a1a3b7d3372a786 (patch)
tree6a9cb24eb92502a6f3153d681ac3f3f5e584d61d /include/base.h
parentee6087e2b463c63d58a37d0f1b611c0893fa35a5 (diff)
Make OnChannelRestrictionApply take a User* instead of a Membership* [jackmcbarn]
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11858 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include/base.h')
-rw-r--r--include/base.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/base.h b/include/base.h
index f41ea07d2..2bc0e4a6a 100644
--- a/include/base.h
+++ b/include/base.h
@@ -89,8 +89,8 @@ class CoreExport reference : public reference_base
inline const T& operator*() const { return *value; }
inline T* operator->() { return value; }
inline T& operator*() { return *value; }
- operator bool() const { return value; }
- operator T*() const { return value; }
+ inline operator bool() const { return value; }
+ inline operator T*() const { return value; }
};
/** This class can be used on its own to represent an exception, or derived to represent a module-specific exception.