diff options
author | Runxi Yu <me@runxiyu.org> | 2024-12-08 09:49:40 +0800 |
---|---|---|
committer | Runxi Yu <me@runxiyu.org> | 2024-12-08 09:49:40 +0800 |
commit | 112722f1c8de842f6c8b672ea73b3cae182274ba (patch) | |
tree | 41cc23dc14b36c3c53b1dbb18cad7d334e9758af /main.go | |
parent | Primitive client states (diff) | |
download | meseircd-112722f1c8de842f6c8b672ea73b3cae182274ba.tar.gz meseircd-112722f1c8de842f6c8b672ea73b3cae182274ba.tar.zst meseircd-112722f1c8de842f6c8b672ea73b3cae182274ba.zip |
Primitive nick registration
Diffstat (limited to '')
-rw-r--r-- | main.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -14,7 +14,7 @@ func main() { self = Server{ conn: nil, - SID: [3]byte{'1', 'H', 'C'}, + SID: "001", Name: "irc.runxiyu.org", } @@ -34,7 +34,10 @@ func main() { conn: &conn, Server: self, State: ClientStatePreRegistration, + UID: "blah", + Nick: "*", } + // TODO: Add to the UID table and make actually unique UIDs go func() { defer func() { (*client.conn).Close() |