diff options
| author | 2006-08-10 17:37:25 +0000 | |
|---|---|---|
| committer | 2006-08-10 17:37:25 +0000 | |
| commit | afa1ec0e9586d93482b5dfdc2d77e93c9499ea10 (patch) | |
| tree | 871b1c3029692605a7d0a038068dae09e4238122 /src/modules/extra/m_sqlutils.cpp | |
| parent | Removal of Server::Log -- not much ever used it anyway with the ability to us... (diff) | |
PublishFeature, FindFeature, FindModule, PriorityBefore, PriorityAfter -> InspIRCd::
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4846 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_sqlutils.cpp')
| -rw-r--r-- | src/modules/extra/m_sqlutils.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/modules/extra/m_sqlutils.cpp b/src/modules/extra/m_sqlutils.cpp index bbda7f3ea..f2085cbcd 100644 --- a/src/modules/extra/m_sqlutils.cpp +++ b/src/modules/extra/m_sqlutils.cpp @@ -31,6 +31,8 @@ /* $ModDesc: Provides some utilities to SQL client modules, such as mapping queries to users and channels */ +extern InspIRCd* ServerInstance; + typedef std::map<unsigned long, userrec*> IdUserMap; typedef std::map<unsigned long, chanrec*> IdChanMap; typedef std::list<unsigned long> AssocIdList; @@ -47,7 +49,7 @@ public: ModuleSQLutils(Server* Me) : Module::Module(Me), Srv(Me) { - log(DEBUG, "%s 'SQLutils' feature", Srv->PublishFeature("SQLutils", this) ? "Published" : "Couldn't publish"); + log(DEBUG, "%s 'SQLutils' feature", ServerInstance->PublishFeature("SQLutils", this) ? "Published" : "Couldn't publish"); } void Implements(char* List) |
