summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <adam@sigterm.info>2018-06-12 10:08:37 -0400
committerGitHub <noreply@github.com>2018-06-12 10:08:37 -0400
commit32bb1de6528bebcfb98c0bb8c17b948e6148c854 (patch)
treea3afe8ed6848b7eef0dca1cc406b7ac3c2cd9217
parentaf8aed278efcf6d9e04f4863e0fdbf3d261a2e78 (diff)
parent3b8a143611a0133d0c62fa499fb4263aeb8b6417 (diff)
Merge pull request #215 from genius3000/master+xline_typo
Fix typo in XLine::GetExpires() to return the correct field
-rw-r--r--src/xline.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xline.cpp b/src/xline.cpp
index 6e19e3602..7f04b0c39 100644
--- a/src/xline.cpp
+++ b/src/xline.cpp
@@ -176,7 +176,7 @@ void XLine::SetExpires(const time_t &e)
time_t XLine::GetExpires()
{
- return Get(&XLineType::created);
+ return Get(&XLineType::expires);
}
const Anope::string &XLine::GetNick() const