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