From e51a4b5c29deac855496d6658a3c4612a61ffbb7 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 10 Aug 2006 18:43:15 +0000 Subject: Move InsertMode into ModeParser git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4849 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_sslmodes.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/modules/m_sslmodes.cpp') diff --git a/src/modules/m_sslmodes.cpp b/src/modules/m_sslmodes.cpp index d2b26cbe0..c844e4e01 100644 --- a/src/modules/m_sslmodes.cpp +++ b/src/modules/m_sslmodes.cpp @@ -8,6 +8,8 @@ static char* dummy; +extern InspIRCd* ServerInstance; + class SSLMode : public ModeHandler { Server* Srv; @@ -75,7 +77,7 @@ class ModuleSSLModes : public Module virtual void On005Numeric(std::string &output) { - InsertMode(output, "z", 4); + ServerInstance->ModeGrok->InsertMode(output, "z", 4); } virtual int OnUserPreJoin(userrec* user, chanrec* chan, const char* cname) -- cgit v1.2.3