summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2017-12-03 14:40:01 -0500
committerAdam <Adam@anope.org>2017-12-03 14:40:01 -0500
commit76142b1970d6fd68d001e9972833046c79483a49 (patch)
tree166328fe427a73cab304378e4c3e994b3abe4759 /src
parent2fda0fff4655e92e388d7823e5b1c1f0c6bcfe2d (diff)
serialize: set and cache new value before calling OnSet and pass old value to OnSet
Diffstat (limited to 'src')
-rw-r--r--src/xline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index 02afa597e..6e19e3602 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -229,7 +229,7 @@ XLineManager *XLine::GetManager()
return ServiceManager::Get()->FindService<XLineManager *>(GetType());
}
-void XLineType::Mask::OnSet(XLine *s, const Anope::string &value)
+void XLineType::Mask::OnSet(XLine *s, Anope::string *old, const Anope::string &value)
{
s->Recache(value);
}