summaryrefslogtreecommitdiff
path: root/src/modules/m_noinvite.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_noinvite.cpp')
-rw-r--r--src/modules/m_noinvite.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_noinvite.cpp b/src/modules/m_noinvite.cpp
index ea4b246d7..cb1597527 100644
--- a/src/modules/m_noinvite.cpp
+++ b/src/modules/m_noinvite.cpp
@@ -57,7 +57,7 @@ class NoInvite : public ModeHandler
class ModuleNoInvite : public Module
{
- Server *Srv;
+
NoInvite *ni;
public:
@@ -66,7 +66,7 @@ class ModuleNoInvite : public Module
{
ni = new NoInvite(ServerInstance);
- Srv->AddMode(ni, 'V');
+ ServerInstance->AddMode(ni, 'V');
}
void Implements(char* List)