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_banexception.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/modules/m_banexception.cpp') diff --git a/src/modules/m_banexception.cpp b/src/modules/m_banexception.cpp index bd549860f..588c42b5e 100644 --- a/src/modules/m_banexception.cpp +++ b/src/modules/m_banexception.cpp @@ -18,6 +18,8 @@ // The +e channel mode takes a nick!ident@host, glob patterns allowed, // and if a user matches an entry on the +e list then they can join the channel, overriding any (+b) bans set on them +extern InspIRCd* ServerInstance; + class BanException : public ListModeBase { public: @@ -48,7 +50,7 @@ public: virtual void On005Numeric(std::string &output) { output.append(" EXCEPTS=e"); - InsertMode(output, "e", 1); + ServerInstance->ModeGrok->InsertMode(output, "e", 1); } virtual int OnCheckBan(userrec* user, chanrec* chan) -- cgit v1.2.3