]> jfr.im git - solanum.git/blobdiff - modules/core/m_mode.c
Rework ircd-side MLOCK enforcement: instead of trying to track modes locked on or...
[solanum.git] / modules / core / m_mode.c
index 219b031ce08542bd14ba07eef5020c34c89ce4a9..4be9ab12b62711f462f85a86e3af9a9d5bc2a14b 100644 (file)
@@ -235,7 +235,7 @@ ms_mlock(struct Client *client_p, struct Client *source_p, int parc, const char
                return 0;
 
        if(IsServer(source_p))
-               set_channel_mlock(client_p, source_p, chptr, parc - 3, parv + 3);
+               set_channel_mlock(client_p, source_p, chptr, parv[3]);
 
        return 0;
 }