1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 15:43:13 +02:00

Fixed a lot of small problems

This commit is contained in:
Adam
2011-02-25 21:40:43 -05:00
parent eea7d2eb77
commit ee38756982
26 changed files with 481 additions and 657 deletions
+5 -5
View File
@@ -568,8 +568,8 @@ void ChannelInfo::LoadMLock()
if (ModeManager::FindChannelModeByName(CMODE_PERM) != NULL)
{
/* 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));
ircdproto->SendChannel(this->c);
this->c->Reset();
}
else
{
@@ -577,10 +577,10 @@ void ChannelInfo::LoadMLock()
whosends(this)->Assign(NULL, this);
if (this->c->FindUser(this->bi) == NULL)
this->bi->Join(this->c);
}
check_modes(this->c);
this->RestoreTopic();
check_modes(this->c);
this->RestoreTopic();
}
}
}