aboutsummaryrefslogtreecommitdiff
path: root/main.go
diff options
context:
space:
mode:
authorRunxi Yu <me@runxiyu.org>2024-12-08 10:04:03 +0800
committerRunxi Yu <me@runxiyu.org>2024-12-08 10:04:03 +0800
commitda1b2cac2940eb1cf7f67328762fd5db5e1a0c8d (patch)
treec033fa01658d3768236caacb696019551e1439b1 /main.go
parentPrimitive nick registration (diff)
downloadmeseircd-da1b2cac2940eb1cf7f67328762fd5db5e1a0c8d.tar.gz
meseircd-da1b2cac2940eb1cf7f67328762fd5db5e1a0c8d.tar.zst
meseircd-da1b2cac2940eb1cf7f67328762fd5db5e1a0c8d.zip
Client teardown and proper nick changes
Diffstat (limited to 'main.go')
-rw-r--r--main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/main.go b/main.go
index 75afd08..b730b9d 100644
--- a/main.go
+++ b/main.go
@@ -40,6 +40,7 @@ func main() {
// TODO: Add to the UID table and make actually unique UIDs
go func() {
defer func() {
+ client.Teardown()
(*client.conn).Close()
// TODO: Unified client clean-up
}()