summaryrefslogtreecommitdiff
path: root/modules/commands/hs_request.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/hs_request.cpp')
-rw-r--r--modules/commands/hs_request.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/hs_request.cpp b/modules/commands/hs_request.cpp
index b11059f90..c7cd75c11 100644
--- a/modules/commands/hs_request.cpp
+++ b/modules/commands/hs_request.cpp
@@ -152,7 +152,7 @@ class CommandHSRequest : public Command
HostRequest *req = new HostRequest;
- req->nick = u->nick;
+ req->nick = source.GetNick();
req->ident = user;
req->host = host;
req->time = Anope::CurTime;