diff options
author | Peter Powell <petpow@saberuk.com> | 2019-10-18 13:53:51 +0100 |
---|---|---|
committer | Peter Powell <petpow@saberuk.com> | 2019-10-18 13:53:51 +0100 |
commit | 7cf9bfbcec453ea244e7f66ca5a76af99a73b7cb (patch) | |
tree | 9c3b25590fa93640a98afc275cdd505c27780994 | |
parent | 6049a8bdf3df798ee9ec0c18ca47261e347cc420 (diff) |
Fix a shadowing warning in LocalUser.
-rw-r--r-- | src/users.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/users.cpp b/src/users.cpp index 01bad8b61..69483ac92 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -112,8 +112,8 @@ LocalUser::LocalUser(int myfd, irc::sockets::sockaddrs* client, irc::sockets::so ChangeRealHost(GetIPString(), true); } -LocalUser::LocalUser(int myfd, const std::string& uuid, Serializable::Data& data) - : User(uuid, ServerInstance->FakeClient->server, USERTYPE_LOCAL) +LocalUser::LocalUser(int myfd, const std::string& uid, Serializable::Data& data) + : User(uid, ServerInstance->FakeClient->server, USERTYPE_LOCAL) , eh(this) , already_sent(0) { |