aboutsummaryrefslogtreecommitdiff
path: root/msg.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-12-08 08:42:11 +0800
committerRunxi Yu <me@runxiyu.org>2024-12-08 08:44:04 +0800
commitc6eacf7ef76fc2aa9a779618220b10ac0448fd6b (patch)
tree37cc76848049397c2320af0c28bbcfaa59d77290 /msg.go
parentAdd LICENSE (diff)
downloadmeseircd-c6eacf7ef76fc2aa9a779618220b10ac0448fd6b.tar.gz
meseircd-c6eacf7ef76fc2aa9a779618220b10ac0448fd6b.tar.zst
meseircd-c6eacf7ef76fc2aa9a779618220b10ac0448fd6b.zip
Slight refactor
Diffstat (limited to 'msg.go')
-rw-r--r--msg.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/msg.go b/msg.go
index ff4b3a4..7e778f3 100644
--- a/msg.go
+++ b/msg.go
@@ -114,12 +114,3 @@ func parseIRCMsg(line string) (msg Msg, err error) {
return
}
-
-func isASCII(str string) bool {
- for i := 0; i < len(str); i++ {
- if str[i] > 127 {
- return false
- }
- }
- return true
-}