Fix syntax error, remove extra parenthesis

This commit is contained in:
Berke Viktor 2012-09-22 22:09:38 +02:00
parent 10e6774f0e
commit 60696af03d

View File

@ -597,7 +597,7 @@ log_create_pathname (char *servname, char *channame, char *netname)
/* create final path/filename, check if it's absolute or relative */
#ifdef WIN32
if ((fnametime[0] >= 'A' && fnametime[0] <= 'Z') || (fnametime[0] >= 'a' && fnametime[0] <= 'z')) && fnametime[1] == ':')
if ((fnametime[0] >= 'A' && fnametime[0] <= 'Z') || (fnametime[0] >= 'a' && fnametime[0] <= 'z') && fnametime[1] == ':')
#else
/* If one uses log mask variables, such as "%c/...", %c will be empty upon
* connecting since there's no channel name yet, so we have to make sure