Fix memory leak on /rehash bans.
We do not have the 'oper' field in klines yet.
This commit is contained in:
parent
0e21e12f8c
commit
4db0e2bdf2
1 changed files with 2 additions and 1 deletions
|
@ -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])
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue