summaryrefslogtreecommitdiff
path: root/include/modules/sql.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/modules/sql.h')
-rw-r--r--include/modules/sql.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/modules/sql.h b/include/modules/sql.h
index 3f378d8b8..f81a85a33 100644
--- a/include/modules/sql.h
+++ b/include/modules/sql.h
@@ -174,7 +174,7 @@ class SQLProvider : public DataProvider
void PopulateUserInfo(User* user, ParamM& userinfo)
{
userinfo["nick"] = user->nick;
- userinfo["host"] = user->host;
+ userinfo["host"] = user->GetRealHost();
userinfo["ip"] = user->GetIPString();
userinfo["gecos"] = user->fullname;
userinfo["ident"] = user->ident;