From 112722f1c8de842f6c8b672ea73b3cae182274ba Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 8 Dec 2024 09:49:40 +0800 Subject: Primitive nick registration --- servers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'servers.go') diff --git a/servers.go b/servers.go index e878911..343be53 100644 --- a/servers.go +++ b/servers.go @@ -7,7 +7,7 @@ import ( type Server struct { conn *net.Conn - SID [3]byte + SID string Name string } @@ -39,7 +39,7 @@ func (server Server) ClientSource() string { } func (server Server) ServerSource() string { - return string(server.SID[:]) + return server.SID } var self Server -- cgit v1.2.3