1
0
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:
Adam
2011-11-17 12:46:18 -05:00
parent 5281282a61
commit 69dfc729e9
31 changed files with 196 additions and 124 deletions
+4
View File
@@ -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())
{