Software /
code /
prosody-modules
Changeset
2875:c3a039972b74
mod_statsd: Fix typo in comment [codespell]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 04 Feb 2018 16:01:37 +0100 |
parents | 2874:178b8abf8283 |
children | 2876:ea6b5321db50 |
files | mod_statsd/mod_statsd.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_statsd/mod_statsd.lua Sun Feb 04 16:00:51 2018 +0100 +++ b/mod_statsd/mod_statsd.lua Sun Feb 04 16:01:37 2018 +0100 @@ -15,7 +15,7 @@ local sock = socket.udp() sock:setpeername(options.hostname or "127.0.0.1", options.port or 8125) --- Metrics are namespaced by ".", and seperated by newline +-- Metrics are namespaced by ".", and separated by newline function clean(s) return (s:gsub("[%.:\n]", "_")) end -- A 'safer' send function to expose