diff options
Diffstat (limited to 'FICS')
-rw-r--r-- | FICS/utils.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/FICS/utils.c b/FICS/utils.c index 5aaca9b..9f0647b 100644 --- a/FICS/utils.c +++ b/FICS/utils.c @@ -504,12 +504,13 @@ PUBLIC char *stolower(char *str) return str; } -PUBLIC int safechar(int c) +PUBLIC int +safechar(int c) { - if ((c == '>') || (c == '!') || (c == '&') || (c == '*') || (c == '?') || - (c == '/') || (c == '<') || (c == '|') || (c == '`') || (c == '$')) - return 0; - return 1; + if (c == '>' || c == '!' || c == '&' || c == '*' || c == '?' || + c == '/' || c == '<' || c == '|' || c == '`' || c == '$') + return 0; + return 1; } PUBLIC int |