mirror of
https://github.com/anope/anope.git
synced 2026-07-06 09:33:13 +02:00
Fixed storing mode locks
This commit is contained in:
@@ -54,8 +54,12 @@ class CommandCSRegister : public Command
|
||||
if (!chdesc.empty())
|
||||
ci->desc = chdesc;
|
||||
|
||||
ci->mode_locks = def_mode_locks;
|
||||
for (ChannelInfo::ModeList::iterator it = ci->mode_locks.begin(), it_end = ci->mode_locks.end(); it != it_end; ++it)
|
||||
{
|
||||
it->second.setter = u->nick;
|
||||
it->second.ci = ci;
|
||||
}
|
||||
|
||||
if (c && !c->topic.empty())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user