Fix memory leak on /rehash bans.
We do not have the 'oper' field in klines yet.
This commit is contained in:
parent
16c19d9c7d
commit
a04002a292
|
@ -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 New Issue