inspircd

A modular C++ IRC daemon (ircd). https://www.inspircd.org/
Log | Files | Refs | README

commit 060335168d0d89242ec40f0d42cf27bfb17cf09b
parent ad92bdb83f148a47c6c166d01fc1870ee05df38f
Author: Peter Powell <petpow@saberuk.com>
Date:   Wed, 12 Jun 2019 00:12:10 +0100

Default idents to the uuid of the connecting user.

Diffstat:
Msrc/users.cpp | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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));