diff options
author | Sadie Powell <sadie@witchery.services> | 2025-02-20 19:49:01 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-02-20 19:49:01 +0000 |
commit | 0c193f8149a0af210383a1798586075d132e4904 (patch) | |
tree | 7b4f2479516ed6e2e88d8f9c25228b39b4088d0c /src/account.cpp | |
parent | fa0f78b937a970049623d11361d106cf2f12cedd (diff) |
Store the source address in the identify request.
Diffstat (limited to 'src/account.cpp')
-rw-r--r-- | src/account.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/account.cpp b/src/account.cpp index 63c65d8fc..95bfc9698 100644 --- a/src/account.cpp +++ b/src/account.cpp @@ -18,7 +18,11 @@ std::set<IdentifyRequest *> IdentifyRequest::Requests; -IdentifyRequest::IdentifyRequest(Module *o, const Anope::string &acc, const Anope::string &pass) : owner(o), account(acc), password(pass) +IdentifyRequest::IdentifyRequest(Module *o, const Anope::string &acc, const Anope::string &pass, const Anope::string &ip) + : owner(o) + , account(acc) + , password(pass) + , address(ip) { Requests.insert(this); } |