diff options
Diffstat (limited to 'src/modules/m_noinvite.cpp')
-rw-r--r-- | src/modules/m_noinvite.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_noinvite.cpp b/src/modules/m_noinvite.cpp index c1d7f0d6f..5447d0d60 100644 --- a/src/modules/m_noinvite.cpp +++ b/src/modules/m_noinvite.cpp @@ -20,7 +20,7 @@ class NoInvite : public ModeHandler public: NoInvite(InspIRCd* Instance) : ModeHandler(Instance, 'V', 0, 0, false, MODETYPE_CHANNEL, false) { } - ModeAction OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string ¶meter, bool adding) + ModeAction OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding) { if (adding) { @@ -60,7 +60,7 @@ class ModuleNoInvite : public Module List[I_OnUserPreInvite] = 1; } - virtual int OnUserPreInvite(userrec* user,userrec* dest,chanrec* channel) + virtual int OnUserPreInvite(User* user,User* dest,Channel* channel) { if (channel->IsModeSet('V')) { |