summaryrefslogtreecommitdiff
path: root/functions.h
diff options
context:
space:
mode:
authorLuke Bratch <luke@bratch.co.uk>2019-09-16 19:42:04 +0100
committerLuke Bratch <luke@bratch.co.uk>2019-09-16 19:42:04 +0100
commit7a3a8aa2a521f752a042ede37b81125689aa0067 (patch)
tree102028a6866a1f95ec3694ef521a5724ae4fee7e /functions.h
parenta37c6010340f3bc755fcd7c54da13daea7645e42 (diff)
Make all log filenames lowercase - since IRC nicks and channel names are case-insensitive, we can ensure a nick/channel with varying case always ends up in the same log file.
Diffstat (limited to 'functions.h')
-rw-r--r--functions.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/functions.h b/functions.h
index 614137d..e8b03f9 100644
--- a/functions.h
+++ b/functions.h
@@ -208,4 +208,7 @@ int addnamereplytochannel(char *namereply, struct channel *channels);
// Strips all leading prefixes (colons, user modes) from a nick
void stripprefixesfromnick(char *nick);
+
+// Convert the given 'string' into lowercase
+void strlower(char *string);
#endif