From 18154f4d229cf8ebdcec0dac671ad6e2e0049fee Mon Sep 17 00:00:00 2001 From: aquanight Date: Fri, 8 Feb 2008 23:35:39 +0000 Subject: Support for /invite - if the user doesn't partake in time, the invite expires git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8854 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_noinvite.cpp | 2 +- src/modules/m_silence_ext.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_noinvite.cpp b/src/modules/m_noinvite.cpp index d29942bc8..cff191db0 100644 --- a/src/modules/m_noinvite.cpp +++ b/src/modules/m_noinvite.cpp @@ -58,7 +58,7 @@ class ModuleNoInvite : public Module } - virtual int OnUserPreInvite(User* user,User* dest,Channel* channel) + virtual int OnUserPreInvite(User* user,User* dest,Channel* channel, time_t timeout) { if (channel->IsModeSet('V')) { diff --git a/src/modules/m_silence_ext.cpp b/src/modules/m_silence_ext.cpp index f37d67b13..886fa3fc5 100644 --- a/src/modules/m_silence_ext.cpp +++ b/src/modules/m_silence_ext.cpp @@ -334,7 +334,7 @@ class ModuleSilence : public Module return PreText(user, dest, target_type, text, status, exempt_list, SILENCE_NOTICE); } - virtual int OnUserPreInvite(User* source,User* dest,Channel* channel) + virtual int OnUserPreInvite(User* source,User* dest,Channel* channel, time_t timeout) { return MatchPattern(dest, source, SILENCE_INVITE); } -- cgit v1.2.3