diff options
Diffstat (limited to 'modules/commands/cs_register.cpp')
-rw-r--r-- | modules/commands/cs_register.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/commands/cs_register.cpp b/modules/commands/cs_register.cpp index 01aa5f18d..632cbced7 100644 --- a/modules/commands/cs_register.cpp +++ b/modules/commands/cs_register.cpp @@ -54,6 +54,9 @@ class CommandCSRegister : public Command if (!chdesc.empty()) ci->desc = chdesc; + for (ChannelInfo::ModeList::iterator it = ci->mode_locks.begin(), it_end = ci->mode_locks.end(); it != it_end; ++it) + it->second.setter = u->nick; + if (c && !c->topic.empty()) { ci->last_topic = c->topic; |