summaryrefslogtreecommitdiff
path: root/src/modules/m_inviteexception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_inviteexception.cpp')
-rw-r--r--src/modules/m_inviteexception.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_inviteexception.cpp b/src/modules/m_inviteexception.cpp
index 51a489de0..f9f3c63af 100644
--- a/src/modules/m_inviteexception.cpp
+++ b/src/modules/m_inviteexception.cpp
@@ -30,13 +30,13 @@ class InviteException : public ListModeBase
class ModuleInviteException : public Module
{
InviteException* ie;
- Server* Srv;
+
public:
ModuleInviteException(InspIRCd* Me) : Module(Me)
{
ie = new InviteException(ServerInstance);
- Srv->AddMode(ie, 'I');
+ ServerInstance->AddMode(ie, 'I');
}
virtual void Implements(char* List)