summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/operserv.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/operserv.cpp b/src/operserv.cpp
index 249a2b344..42a5c2f5b 100644
--- a/src/operserv.cpp
+++ b/src/operserv.cpp
@@ -98,7 +98,7 @@ void XLine::unserialize(serialized_data &data)
time_t expires;
data["expires"] >> expires;
- XLine *xl = new XLine(data["mask"].astr(), data["by"].astr(), expires, data["expires"].astr(), data["uid"].astr());
+ XLine *xl = new XLine(data["mask"].astr(), data["by"].astr(), expires, data["reason"].astr(), data["uid"].astr());
data["created"] >> xl->Created;
xl->manager = xlm;