diff options
-rw-r--r-- | src/modules/extra/m_sqllog.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/modules/extra/m_sqllog.cpp b/src/modules/extra/m_sqllog.cpp index ed110d6e4..11fd186c1 100644 --- a/src/modules/extra/m_sqllog.cpp +++ b/src/modules/extra/m_sqllog.cpp @@ -193,6 +193,11 @@ class ModuleSQLLog : public Module AddLogEntry(LT_OPER,user->nick,user->host,user->server); } + virtual void OnGlobalOper(userrec* user) + { + AddLogEntry(LT_OPER,user->nick,user->host,user->server); + } + virtual int OnKill(userrec* source, userrec* dest, std::string reason) { AddLogEntry(LT_KILL,dest->nick,dest->host,source->nick); @@ -218,6 +223,11 @@ class ModuleSQLLog : public Module AddLogEntry(LT_CONNECT,user->nick,user->host,user->server); } + virtual void OnGlobalConnect(userrec* user) + { + AddLogEntry(LT_CONNECT,user->nick,user->host,user->server); + } + virtual void OnUserQuit(userrec* user) { AddLogEntry(LT_DISCONNECT,user->nick,user->host,user->server); |