mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-15 22:05:01 -05:00
Make identd check easier to read
This commit is contained in:
parent
b43e567dbf
commit
de7a4aee31
@ -962,13 +962,15 @@ server_read_child (GIOChannel *source, GIOCondition condition, server *serv)
|
|||||||
#ifdef WIN32
|
#ifdef WIN32
|
||||||
if (prefs.identd)
|
if (prefs.identd)
|
||||||
{
|
{
|
||||||
if (serv->network)
|
if (serv->network && ((ircnet *)serv->network)->user)
|
||||||
identd_start ((((ircnet *)serv->network)->user) ?
|
{
|
||||||
(((ircnet *)serv->network)->user) :
|
identd_start (((ircnet *)serv->network)->user);
|
||||||
prefs.username);
|
}
|
||||||
else
|
else
|
||||||
|
{
|
||||||
identd_start (prefs.username);
|
identd_start (prefs.username);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#else
|
#else
|
||||||
snprintf (outbuf, sizeof (outbuf), "%s/auth/xchat_auth",
|
snprintf (outbuf, sizeof (outbuf), "%s/auth/xchat_auth",
|
||||||
g_get_home_dir ());
|
g_get_home_dir ());
|
||||||
|
Loading…
Reference in New Issue
Block a user