diff options
-rw-r--r-- | src/modules/m_sqllog.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/m_sqllog.cpp b/src/modules/m_sqllog.cpp index 6ac6c0688..a54f476c4 100644 --- a/src/modules/m_sqllog.cpp +++ b/src/modules/m_sqllog.cpp @@ -245,9 +245,10 @@ class ModuleSQLLog : public Module return MOD_RES_PASSTHRU; } - virtual void OnUserRegister(LocalUser* user) + virtual ModResult OnUserRegister(LocalUser* user) { AddLogEntry(LT_CONNECT,user->nick,user->host,user->server); + return MOD_RES_PASSTHRU; } virtual void OnUserQuit(User* user, const std::string &reason, const std::string &oper_message) |