Fix possible crash with m_mkpasswd extension.

This commit is contained in:
Jilles Tjoelker 2008-09-06 21:49:45 +02:00
parent 4137c21c96
commit 73f50e08ea
1 changed files with 1 additions and 1 deletions

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()) if((last_used + ConfigFileEntry.pace_wait) > rb_current_time())
{ {
/* safe enough to give this on a local connect only */ /* 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; return 0;
} }
else else