From 9bb31e58f8dfebd3c7297e738886f94c7bb3196b Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 22 Jan 2009 20:44:10 +0000 Subject: Add $gecos, $ident, $server, $uuid vars for building possible auth queries. These are the 1.2 equivalent of sqlauth:useident, and more. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10987 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/extra/m_sqlauth.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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"); -- cgit v1.2.3