0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-07-30 14:24:40 +02:00

parse: handle_encap(): remove parv[0] initialization, anything using parv[0] should crash the ircd

This commit is contained in:
William Pitcock 2015-11-19 17:13:04 -06:00
parent e77879b0f6
commit 8e9e22b4d3

View file

@ -380,8 +380,6 @@ handle_encap(struct Client *client_p, struct Client *source_p,
struct MessageEntry ehandler;
MessageHandler handler = 0;
parv[0] = source_p->name;
mptr = irc_dictionary_retrieve(cmd_dict, command);
if(mptr == NULL || mptr->cmd == NULL)