diff options
-rw-r--r-- | FICS/utils.c | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/FICS/utils.c b/FICS/utils.c index 97887c3..f77841b 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -769,13 +769,14 @@ PUBLIC int lines_file(char *file) return lcount; } -PUBLIC int file_has_pname(char *fname, char *plogin) +PUBLIC int +file_has_pname(char *fname, char *plogin) { - if (!strcmp(file_wplayer(fname), plogin)) - return 1; - if (!strcmp(file_bplayer(fname), plogin)) - return 1; - return 0; + if (!strcmp(file_wplayer(fname), plogin)) + return 1; + if (!strcmp(file_bplayer(fname), plogin)) + return 1; + return 0; } PUBLIC char * |