Fix possible crash with m_mkpasswd extension.

This commit is contained in:
Jilles Tjoelker 2008-09-06 21:49:45 +02:00
parent 4a5655b20d
commit 17b97f3024

View 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