summaryrefslogtreecommitdiff
path: root/src/modes/cmode_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modes/cmode_i.cpp')
-rw-r--r--src/modes/cmode_i.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modes/cmode_i.cpp b/src/modes/cmode_i.cpp
index 12bdb18b8..550ea24d1 100644
--- a/src/modes/cmode_i.cpp
+++ b/src/modes/cmode_i.cpp
@@ -21,7 +21,7 @@ ModeChannelInviteOnly::ModeChannelInviteOnly(InspIRCd* Instance) : ModeHandler(I
{
}
-ModeAction ModeChannelInviteOnly::OnModeChange(userrec* source, userrec* dest, chanrec* channel, std::string &parameter, bool adding)
+ModeAction ModeChannelInviteOnly::OnModeChange(User* source, User* dest, Channel* channel, std::string &parameter, bool adding)
{
if (channel->modes[CM_INVITEONLY] != adding)
{