summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/extra/m_sqllog.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/extra/m_sqllog.cpp b/src/modules/extra/m_sqllog.cpp
index 1121c8755..ed110d6e4 100644
--- a/src/modules/extra/m_sqllog.cpp
+++ b/src/modules/extra/m_sqllog.cpp
@@ -195,7 +195,7 @@ class ModuleSQLLog : public Module
virtual int OnKill(userrec* source, userrec* dest, std::string reason)
{
- AddLogEntry(LT_KILL,user->nick,user->host,source->nick);
+ AddLogEntry(LT_KILL,dest->nick,dest->host,source->nick);
return 0;
}