]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/extra/m_sqlutils.h
Make all our modules use the new stuff rather than the send_ events
[user/henk/code/inspircd.git] / src / modules / extra / m_sqlutils.h
index 92fbdf5c7607b4686c8641bd69b27f43355a555d..485f0915847e4e0fc78629c729707610b1b71d37 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
@@ -33,9 +33,9 @@ public:
        unsigned long id;
        /** User
         */
-       userrec* user;
+       User* user;
        
-       AssociateUser(Module* s, Module* d, unsigned long i, userrec* u)
+       AssociateUser(Module* s, Module* d, unsigned long i, User* u)
        : Request(s, d, SQLUTILAU), id(i), user(u)
        {
        }
@@ -57,9 +57,9 @@ public:
        unsigned long id;
        /** Channel
         */
-       chanrec* chan;
+       Channel* chan;
        
-       AssociateChan(Module* s, Module* d, unsigned long i, chanrec* u)
+       AssociateChan(Module* s, Module* d, unsigned long i, Channel* u)
        : Request(s, d, SQLUTILAC), id(i), chan(u)
        {
        }
@@ -102,7 +102,7 @@ public:
        unsigned long id;
        /** The user
         */
-       userrec* user;
+       User* user;
 
        GetAssocUser(Module* s, Module* d, unsigned long i)
        : Request(s, d, SQLUTILGU), id(i), user(NULL)
@@ -126,7 +126,7 @@ public:
        unsigned long id;
        /** The channel
         */
-       chanrec* chan;
+       Channel* chan;
 
        GetAssocChan(Module* s, Module* d, unsigned long i)
        : Request(s, d, SQLUTILGC), id(i), chan(NULL)