summaryrefslogtreecommitdiffstats
path: root/go.mod
diff options
context:
space:
mode:
authorGeorg Pfuetzenreuter2024-10-02 21:40:30 +0200
committerGeorg Pfuetzenreuter2024-10-02 21:40:30 +0200
commitd99a0d84bf3f473a5b78cf8b16b72c7ca927fdb0 (patch)
treeec71a9d8bff6b0559bba44422bba7160fcc277cb /go.mod
parenta5cc5e031754db83816e59849de6cb75ff92f9ae (diff)
downloadwatbot-d99a0d84bf3f473a5b78cf8b16b72c7ca927fdb0.tar.gz
watbot-d99a0d84bf3f473a5b78cf8b16b72c7ca927fdb0.tar.bz2
watbot-d99a0d84bf3f473a5b78cf8b16b72c7ca927fdb0.zip
Strip formatting codes
To allow for correct parsing of messages containing formatting codes and to avoid exploitation of unparseable messages, strip all formatting codes from a message when entering the parsing chain. Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
Diffstat (limited to 'go.mod')
-rw-r--r--go.mod1
1 files changed, 1 insertions, 0 deletions
diff --git a/go.mod b/go.mod
index 84d6919..cbffbfa 100644
--- a/go.mod
+++ b/go.mod
@@ -4,6 +4,7 @@ go 1.15
require (
github.com/creasty/defaults v1.8.0
+ github.com/ergochat/irc-go v0.4.0
github.com/go-irc/irc v2.1.0+incompatible
github.com/stretchr/testify v1.9.0 // indirect
gopkg.in/yaml.v2 v2.4.0 // indirect