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 16c19d9c7d
commit a04002a292
1 changed files with 2 additions and 1 deletions

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])
{