summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-29 18:16:02 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2008-03-29 18:16:02 +0000
commitaf789aefbbdfa76ebe1a5e3929589213c15aaa44 (patch)
treeec49d2e9ae9a12c3dfc6716d56272363032a296a /src/modules/extra
parent235168b93ff76c9cf65485a44f29720128efbf0b (diff)
Use the right pass
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9210 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_sqlauth.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp
index ed294729f..dcc62a0a2 100644
--- a/src/modules/extra/m_sqlauth.cpp
+++ b/src/modules/extra/m_sqlauth.cpp
@@ -110,7 +110,7 @@ public:
SearchAndReplace(safepass, "\"", "");
SearchAndReplace(thisquery, "$nick", user->nick);
- SearchAndReplace(thisquery, "$pass", user->password);
+ SearchAndReplace(thisquery, "$pass", safepass);
SearchAndReplace(thisquery, "$host", user->host);
SearchAndReplace(thisquery, "$ip", user->GetIPString());