summaryrefslogtreecommitdiff
path: root/src/modules/extra/m_sqlauth.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra/m_sqlauth.cpp')
-rw-r--r--src/modules/extra/m_sqlauth.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp
index 53e140e05..0cd1ced24 100644
--- a/src/modules/extra/m_sqlauth.cpp
+++ b/src/modules/extra/m_sqlauth.cpp
@@ -110,6 +110,10 @@ public:
SearchAndReplace(thisquery, "$pass", safepass);
SearchAndReplace(thisquery, "$host", user->host);
SearchAndReplace(thisquery, "$ip", user->GetIPString());
+ SearchAndReplace(thisquery, "$gecos", user->fullname);
+ SearchAndReplace(thisquery, "$ident", user->ident);
+ SearchAndReplace(thisquery, "$server", user->server);
+ SearchAndReplace(thisquery, "$uuid", user->uuid);
Module* HashMod = ServerInstance->Modules->Find("m_md5.so");