diff --git a/modules/commands/ns_ajoin.cpp b/modules/commands/ns_ajoin.cpp index 62fcd70e7..54caaaf7e 100644 --- a/modules/commands/ns_ajoin.cpp +++ b/modules/commands/ns_ajoin.cpp @@ -322,7 +322,10 @@ class NSAJoin : public Module AJoinList *channels = u->Account()->GetExt("ajoinlist"); if (channels == NULL) - channels = u->Account()->Extend("ajoinlist"); + return; + + /* Set +r now, so we can ajoin users into +R channels */ + ModeManager::ProcessModes(); for (unsigned i = 0; i < (*channels)->size(); ++i) {