]> jfr.im git - irc/rqf/shadowircd.git/commitdiff
Fix possible crash with m_mkpasswd extension.
authorJilles Tjoelker <redacted>
Sat, 6 Sep 2008 19:49:45 +0000 (21:49 +0200)
committerJilles Tjoelker <redacted>
Sat, 6 Sep 2008 19:49:45 +0000 (21:49 +0200)
extensions/m_mkpasswd.c

index b59997b097dcc616c8ba50797f8799207dbee8c4..16b76f1c24f894022136e37e3019ec33f3c186e5 100644 (file)
@@ -56,7 +56,7 @@ m_mkpasswd(struct Client *client_p, struct Client *source_p, int parc, const cha
        if((last_used + ConfigFileEntry.pace_wait) > rb_current_time())
        {
                /* safe enough to give this on a local connect only */
-               sendto_one(source_p, form_str(RPL_LOAD2HI), me.name, parv[0]);
+               sendto_one(source_p, form_str(RPL_LOAD2HI), me.name, parv[0], "MKPASSWD");
                return 0;
        }
        else