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
|
||||
if (prefs.identd)
|
||||
{
|
||||
if (serv->network)
|
||||
identd_start ((((ircnet *)serv->network)->user) ?
|
||||
(((ircnet *)serv->network)->user) :
|
||||
prefs.username);
|
||||
if (serv->network && ((ircnet *)serv->network)->user)
|
||||
{
|
||||
identd_start (((ircnet *)serv->network)->user);
|
||||
}
|
||||
else
|
||||
{
|
||||
identd_start (prefs.username);
|
||||
}
|
||||
}
|
||||
#else
|
||||
snprintf (outbuf, sizeof (outbuf), "%s/auth/xchat_auth",
|
||||
g_get_home_dir ());
|
||||
|
|
Loading…
Reference in New Issue