From 55730fa073d6aaf058954af6ae64f38cf2c5cbb9 Mon Sep 17 00:00:00 2001 From: danieldg Date: Sat, 2 Jan 2010 21:06:05 +0000 Subject: Fix sqllog compile error git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12239 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_sqllog.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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) -- cgit v1.2.3