summaryrefslogtreecommitdiff
path: root/src/modules/extra
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/extra')
-rw-r--r--src/modules/extra/m_sqlauth.cpp2
-rw-r--r--src/modules/extra/m_sqlutils.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/extra/m_sqlauth.cpp b/src/modules/extra/m_sqlauth.cpp
index 2cb2eae3a..8e2ea34f5 100644
--- a/src/modules/extra/m_sqlauth.cpp
+++ b/src/modules/extra/m_sqlauth.cpp
@@ -123,7 +123,7 @@ public:
*/
log(DEBUG, "Sent query, got given ID %lu", req.id);
- AssociateUser(this, SQLutils, user, req.id).Send();
+ AssociateUser(this, SQLutils, req.id, user).Send();
return true;
}
diff --git a/src/modules/extra/m_sqlutils.h b/src/modules/extra/m_sqlutils.h
index bf13e4635..26a5f1265 100644
--- a/src/modules/extra/m_sqlutils.h
+++ b/src/modules/extra/m_sqlutils.h
@@ -16,7 +16,7 @@ public:
unsigned long id;
userrec* user;
- AssociateUser(Module* s, Module* d, userrec* u, unsigned long i)
+ AssociateUser(Module* s, Module* d, unsigned long i, userrec* u)
: Request(SQLUTILAU, s, d), id(i), user(u)
{
}
@@ -34,7 +34,7 @@ public:
unsigned long id;
chanrec* chan;
- AssociateChan(Module* s, Module* d, chanrec* u, unsigned long i)
+ AssociateChan(Module* s, Module* d, unsigned long i, chanrec* u)
: Request(SQLUTILAC, s, d), id(i), chan(u)
{
}