diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/commands/ns_ajoin.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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>("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) { |