summaryrefslogtreecommitdiff
path: root/modules/hostserv/request.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hostserv/request.cpp')
-rw-r--r--modules/hostserv/request.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/hostserv/request.cpp b/modules/hostserv/request.cpp
index 47914ee0e..3cae04b8a 100644
--- a/modules/hostserv/request.cpp
+++ b/modules/hostserv/request.cpp
@@ -158,7 +158,9 @@ class CommandHSRequest : public Command
size_t a = rawhostmask.find('@');
if (a == Anope::string::npos)
+ {
host = rawhostmask;
+ }
else
{
user = rawhostmask.substr(0, a);