summaryrefslogtreecommitdiff
path: root/src/hostserv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/hostserv.cpp')
-rw-r--r--src/hostserv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/hostserv.cpp b/src/hostserv.cpp
index 04bb61e4c..8cce7783f 100644
--- a/src/hostserv.cpp
+++ b/src/hostserv.cpp
@@ -97,7 +97,7 @@ void hostserv(User *u, const std::string &buf)
}
else
{
- mod_run_cmd(HostServ, u, buf.c_str());
+ mod_run_cmd(HostServ, u, buf);
}
}