mirror of
https://github.com/anope/anope.git
synced 2026-07-01 17:26:38 +02:00
Process mode changes in ns_ajoin before joining users, fixes not being able to ajoin users to +R channels on Unreal
This commit is contained in:
@@ -322,7 +322,10 @@ class NSAJoin : public Module
|
||||
|
||||
AJoinList *channels = u->Account()->GetExt<AJoinList>("ajoinlist");
|
||||
if (channels == NULL)
|
||||
channels = u->Account()->Extend<AJoinList>("ajoinlist");
|
||||
return;
|
||||
|
||||
/* Set +r now, so we can ajoin users into +R channels */
|
||||
ModeManager::ProcessModes();
|
||||
|
||||
for (unsigned i = 0; i < (*channels)->size(); ++i)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user