ircd: client: fix format string for free_user() debug notice
This commit is contained in:
parent
4e376fff55
commit
0b9aca384a
1 changed files with 5 additions and 5 deletions
|
@ -1802,15 +1802,15 @@ free_user(struct User *user, struct Client *client_p)
|
||||||
if(user->refcnt < 0 || user->invited.head || user->channel.head)
|
if(user->refcnt < 0 || user->invited.head || user->channel.head)
|
||||||
{
|
{
|
||||||
sendto_realops_snomask(SNO_GENERAL, L_ALL,
|
sendto_realops_snomask(SNO_GENERAL, L_ALL,
|
||||||
"* %#lx user (%s!%s@%s) %#lx %#lx %#lx %lu %d *",
|
"* %p user (%s!%s@%s) %p %p %p %lu %d *",
|
||||||
(unsigned long) client_p,
|
client_p,
|
||||||
client_p ? client_p->
|
client_p ? client_p->
|
||||||
name : "<noname>",
|
name : "<noname>",
|
||||||
client_p->username,
|
client_p->username,
|
||||||
client_p->host,
|
client_p->host,
|
||||||
(unsigned long) user,
|
user,
|
||||||
(unsigned long) user->invited.head,
|
user->invited.head,
|
||||||
(unsigned long) user->channel.head,
|
user->channel.head,
|
||||||
rb_dlink_list_length(&user->channel),
|
rb_dlink_list_length(&user->channel),
|
||||||
user->refcnt);
|
user->refcnt);
|
||||||
s_assert(!user->refcnt);
|
s_assert(!user->refcnt);
|
||||||
|
|
Loading…
Reference in a new issue