Commits

Anonymous committed d2aec04

BAN: xlines do not have oper reasons, their "reason" is already oper only.

Comments (0)

Files changed (1)

modules/core/m_ban.c

 	aconf->info.oper = operhash_add(oper);
 	aconf->created = created;
 	aconf->hold = hold;
-	p = strchr(parv[parc - 1], '|');
-	if (p == NULL)
+	if (ntype != CONF_KILL || (p = strchr(parv[parc - 1], '|')) == NULL)
 		aconf->passwd = rb_strdup(parv[parc - 1]);
 	else
 	{