mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
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)
|
||||
{
|
||||
sendto_realops_snomask(SNO_GENERAL, L_ALL,
|
||||
"* %#lx user (%s!%s@%s) %#lx %#lx %#lx %lu %d *",
|
||||
(unsigned long) client_p,
|
||||
"* %p user (%s!%s@%s) %p %p %p %lu %d *",
|
||||
client_p,
|
||||
client_p ? client_p->
|
||||
name : "<noname>",
|
||||
client_p->username,
|
||||
client_p->host,
|
||||
(unsigned long) user,
|
||||
(unsigned long) user->invited.head,
|
||||
(unsigned long) user->channel.head,
|
||||
user,
|
||||
user->invited.head,
|
||||
user->channel.head,
|
||||
rb_dlink_list_length(&user->channel),
|
||||
user->refcnt);
|
||||
s_assert(!user->refcnt);
|
||||
|
|
Loading…
Reference in a new issue