mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-30 23:12:25 +01:00
Fix compiler warning
This commit is contained in:
parent
60eba7c501
commit
35b2579dcb
1 changed files with 1 additions and 1 deletions
|
@ -600,7 +600,7 @@ void json_expand_client(json_t *j, const char *key, Client *client, int detail)
|
|||
json_object_set_new(user, "realname", json_string_unreal(client->info));
|
||||
if (has_user_mode(client, 'x') && client->user->virthost && strcmp(client->user->virthost, client->user->realhost))
|
||||
json_object_set_new(user, "vhost", json_string_unreal(client->user->virthost));
|
||||
if (client->user->cloakedhost)
|
||||
if (*client->user->cloakedhost)
|
||||
json_object_set_new(user, "cloakedhost", json_string_unreal(client->user->cloakedhost));
|
||||
if (client->uplink)
|
||||
json_object_set_new(user, "servername", json_string_unreal(client->uplink->name));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue