summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authordanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-02 21:06:05 +0000
committerdanieldg <danieldg@e03df62e-2008-0410-955e-edbf42e46eb7>2010-01-02 21:06:05 +0000
commit55730fa073d6aaf058954af6ae64f38cf2c5cbb9 (patch)
treec20b3bc8efc23256eea6e7b1f803349102a2749e /src
parente2289d4cf4f9a9c587c1956c089bb3a32a48b54d (diff)
Fix sqllog compile error
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12239 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_sqllog.cpp3
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)