summaryrefslogtreecommitdiff
path: root/src/regchannel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/regchannel.cpp')
-rw-r--r--src/regchannel.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/regchannel.cpp b/src/regchannel.cpp
index 7ff3e753a..2ad4f8b12 100644
--- a/src/regchannel.cpp
+++ b/src/regchannel.cpp
@@ -567,6 +567,7 @@ void ChannelInfo::LoadMLock()
{
/* At this point, CMODE_PERM *must* be locked on the channel, so this is fine */
ircdproto->SendChannel(this->c, get_mlock_modes(this, true));
+ this->c->SetModesInternal(NULL, get_mlock_modes(this, true));
}
else
{
@@ -577,7 +578,7 @@ void ChannelInfo::LoadMLock()
}
check_modes(this->c);
- this->CheckTopic();
+ this->RestoreTopic();
}
}