diff options
author | Peter Powell <petpow@saberuk.com> | 2019-06-12 00:12:10 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-06-12 00:12:10 +0100 |
commit | 060335168d0d89242ec40f0d42cf27bfb17cf09b (patch) | |
tree | 94761a21e55d45597a84bc296d4428ea4192586c | |
parent | ad92bdb83f148a47c6c166d01fc1870ee05df38f (diff) |
Default idents to the uuid of the connecting user.
-rw-r--r-- | src/users.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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)); |