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:
+5
-5
@@ -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();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user