diff options
author | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-22 14:54:18 +0000 |
---|---|---|
committer | om <om@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-22 14:54:18 +0000 |
commit | a1ff11998b541e47c24097cc816496513d56d002 (patch) | |
tree | 55183d0ef40b8f7e94ff4404031ea759febcc597 /src/modules/extra | |
parent | 2330fc9ddd48c939e894e7e37e9bb2e62eafc38d (diff) |
Reorder a couple of constructor prototypes for consistency
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4512 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra')
-rw-r--r-- | src/modules/extra/m_sqlauth.cpp | 2 | ||||
-rw-r--r-- | src/modules/extra/m_sqlutils.h | 4 |
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) { } |