Fix memory leak on /rehash bans.

We do not have the 'oper' field in klines yet.
This commit is contained in:
Jilles Tjoelker 2010-02-28 16:45:25 +01:00
parent 0e21e12f8c
commit 4db0e2bdf2

View file

@ -170,7 +170,8 @@ bandb_handle_ban(char *parv[], int parc)
aconf->user = rb_strdup(parv[para++]);
aconf->host = rb_strdup(parv[para++]);
aconf->passwd = rb_strdup(parv[para++]);
/* We do not have the 'oper' field yet. */
para++;
switch (parv[0][0])
{