]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_delayjoin.cpp
Merge insp20
[user/henk/code/inspircd.git] / src / modules / m_delayjoin.cpp
index 55ffd08d706d649cb03686a78383cf50a2d18524..2474cd6ad21c8146ac7b060d3f3c691e555b4ae4 100644 (file)
@@ -168,6 +168,10 @@ ModResult ModuleDelayJoin::OnRawMode(User* user, Channel* channel, ModeHandler*
        if (!user || !channel || param.empty())
                return MOD_RES_PASSTHRU;
 
+       // If not a prefix mode then we got nothing to do here
+       if (!mh->IsPrefixMode())
+               return MOD_RES_PASSTHRU;
+
        User* dest;
        if (IS_LOCAL(user))
                dest = ServerInstance->FindNickOnly(param);