summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2017-12-04 14:18:50 +0000
committerPeter Powell <petpow@saberuk.com>2017-12-15 00:52:35 +0000
commit1b88e86f970124cb5c143fcd6ea85249d91ff3ad (patch)
tree6519b781d6bbd606bc9506a658283f1643378c7c /src
parentebcf1ac8f73785775eaac946a537e50bcb82f5b7 (diff)
Fix m_xline_db storing the wrong setter in the XLine database.
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_xline_db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_xline_db.cpp b/src/modules/m_xline_db.cpp
index 2237b0d08..fb2a6f65a 100644
--- a/src/modules/m_xline_db.cpp
+++ b/src/modules/m_xline_db.cpp
@@ -130,7 +130,7 @@ class ModuleXLineDB : public Module
{
XLine* line = i->second;
fprintf(f, "LINE %s %s %s %lu %lu :%s\n", line->type.c_str(), line->Displayable(),
- ServerInstance->Config->ServerName.c_str(), (unsigned long)line->set_time, (unsigned long)line->duration, line->reason.c_str());
+ line->source.c_str(), (unsigned long)line->set_time, (unsigned long)line->duration, line->reason.c_str());
}
}