diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-26 12:08:05 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-02-26 12:08:05 +0000 |
commit | 617b8e2058f95c4c3c6eec447aa1f3d059f7ea61 (patch) | |
tree | 22dae964703d956e16e7f676c4cb487b04a38bb6 /src/modules/extra/m_sqllog.cpp | |
parent | 7e5b5d893a3fadda340c7de17533fc233c2c7dca (diff) |
Fixed Server* Srv stuff in these too, although by default these arent available to win32 builds
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3333 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/extra/m_sqllog.cpp')
-rw-r--r-- | src/modules/extra/m_sqllog.cpp | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/src/modules/extra/m_sqllog.cpp b/src/modules/extra/m_sqllog.cpp index 8e7deac8b..48b846fee 100644 --- a/src/modules/extra/m_sqllog.cpp +++ b/src/modules/extra/m_sqllog.cpp @@ -34,21 +34,13 @@ using namespace std; #include "inspircd.h" #include "m_sql.h" -#define LT_OPER 1 -#define LT_KILL 2 -#define LT_SERVLINK 3 -#define LT_XLINE 4 -#define LT_CONNECT 5 -#define LT_DISCONNECT 6 -#define LT_FLOOD 7 -#define LT_LOADMODULE 8 +enum LogTypes { LT_OPER = 1, LT_KILL, LT_SERVLINK, LT_XLINE, LT_CONNECT, LT_DISCONNECT, LT_FLOOD, LT_LOADMODULE }; /* $ModDesc: Logs network-wide data to an SQL database */ -Server *Srv; - class ModuleSQLLog : public Module { + Server* Srv; ConfigReader* Conf; unsigned long dbid; Module* SQLModule; |