diff options
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; |