From 8c7cb10bec8601418ea98f70b222d198a14f4e56 Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Fri, 27 Aug 2010 18:16:48 -0400 Subject: Add m_sqlcommand - allow creating /COMMANDs that map to SQL queries --- src/modules/m_sqloper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_sqloper.cpp') diff --git a/src/modules/m_sqloper.cpp b/src/modules/m_sqloper.cpp index 6fac8fd70..f0ee9eadf 100644 --- a/src/modules/m_sqloper.cpp +++ b/src/modules/m_sqloper.cpp @@ -178,7 +178,7 @@ public: HashProvider* hash = ServerInstance->Modules->FindDataService("hash/" + hashtype); ParamM userinfo; - SQL->PopulateUserInfo(user, userinfo); + PopulateUserInfo(user, userinfo); userinfo["username"] = username; userinfo["password"] = hash ? hash->hexsum(password) : password; -- cgit v1.3.1-10-gc9f91