From 3039e0663f7e45a45e9574a6aa7463bbe77e849f Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 16 Apr 2008 00:36:20 +0000 Subject: Change that allows the m_override module to not announce a key override for a user that specified the right key git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9516 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_restrictchans.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_restrictchans.cpp') diff --git a/src/modules/m_restrictchans.cpp b/src/modules/m_restrictchans.cpp index 8543e9719..1838338bd 100644 --- a/src/modules/m_restrictchans.cpp +++ b/src/modules/m_restrictchans.cpp @@ -51,7 +51,7 @@ class ModuleRestrictChans : public Module } - virtual int OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string &privs) + virtual int OnUserPreJoin(User* user, Channel* chan, const char* cname, std::string &privs, const std::string &keygiven) { irc::string x = cname; // user is not an oper and its not in the allow list -- cgit v1.2.3