1
0
mirror of https://github.com/anope/anope.git synced 2026-06-29 20:26:39 +02:00

Create persistent channels on startup, which used to work and got lost somewhere

Fix some oddities with using persistent channels with no botserv
Send list modes to uplink when bursting
Fix issues with persist + keepmodes
Fix /os modes clear all not clearing all status modes
Fix operwall on ratbox/plexus
Dont apply mlock in SetCorrectModes since that just recursively calls itself unncessarially
Change command logging to show the command name and not the service name
This commit is contained in:
Adam
2013-08-25 02:59:54 -04:00
parent 09046e3c99
commit 847cceaba3
16 changed files with 131 additions and 51 deletions
+2 -2
View File
@@ -812,7 +812,7 @@ void Channel::SetCorrectModes(User *user, bool give_modes)
/* Always give op. If we have already given one mode, don't give more until it has a symbol */
if (cm->name == "OP" || !given || (giving && cm->symbol))
{
this->SetMode(NULL, cm, user->GetUID());
this->SetMode(NULL, cm, user->GetUID(), false);
/* Now if this contains a symbol don't give any more modes, to prevent setting +qaohv etc on users */
giving = !cm->symbol;
given = true;
@@ -824,7 +824,7 @@ void Channel::SetCorrectModes(User *user, bool give_modes)
if (cm->name == "VOICE")
take_modes = false;
else
this->RemoveMode(NULL, cm, user->GetUID());
this->RemoveMode(NULL, cm, user->GetUID(), false);
}
}
}