From 060335168d0d89242ec40f0d42cf27bfb17cf09b Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Wed, 12 Jun 2019 00:12:10 +0100 Subject: Default idents to the uuid of the connecting user. --- src/users.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/users.cpp b/src/users.cpp index 3e1b4a8d4..a3807bd75 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -105,7 +105,7 @@ LocalUser::LocalUser(int myfd, irc::sockets::sockaddrs* client, irc::sockets::so signon = ServerInstance->Time(); // The user's default nick is their UUID nick = uuid; - ident = "unknown"; + ident = uuid; eh.SetFd(myfd); memcpy(&client_sa, client, sizeof(irc::sockets::sockaddrs)); memcpy(&server_sa, servaddr, sizeof(irc::sockets::sockaddrs)); -- cgit v1.2.3