1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-06-29 11:46:45 +02:00

filter escape sequences from all inbound nicks and status messages

This commit is contained in:
Jfreegman
2014-10-07 16:18:06 -04:00
parent 1f2bd44dce
commit 9f0daca5eb
6 changed files with 17 additions and 9 deletions

View File

@ -92,7 +92,7 @@ int qsort_strcasecmp_hlpr(const void *str1, const void *str2);
int valid_nick(const char *nick);
/* Converts all newline/tab chars to spaces (use for strings that should be contained to a single line) */
void escape_newline_str(char *str, int len);
void filter_str(char *str, int len);
/* gets base file name from path or original file name if no path is supplied */
void get_file_name(char *namebuf, int bufsize, const char *pathname);