diff options
author | Adam <Adam@anope.org> | 2013-07-15 23:59:19 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-07-15 23:59:19 -0400 |
commit | 7e87bb69fc4c3a19280d3780db7ebee76e8956b3 (patch) | |
tree | 53c1f6ddfb6a63029c747f5638b74a6d89eb6da1 /src/xline.cpp | |
parent | aae522d72bd3dfd901c0e8d06cf35f81cc62d27b (diff) |
Default xlines to be set by me
Diffstat (limited to 'src/xline.cpp')
-rw-r--r-- | src/xline.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xline.cpp b/src/xline.cpp index 66bb6d308..d6d5ad8e5 100644 --- a/src/xline.cpp +++ b/src/xline.cpp @@ -18,6 +18,7 @@ #include "regexpr.h" #include "config.h" #include "commands.h" +#include "servers.h" /* List of XLine managers we check users against in XLineManager::CheckAll */ std::list<XLineManager *> XLineManager::XLineManagers; @@ -44,7 +45,7 @@ void XLine::InitRegex() } } -XLine::XLine(const Anope::string &ma, const Anope::string &r, const Anope::string &uid) : Serializable("XLine"), mask(ma), created(0), expires(0), reason(r), id(uid) +XLine::XLine(const Anope::string &ma, const Anope::string &r, const Anope::string &uid) : Serializable("XLine"), mask(ma), by(Me->GetName()), created(0), expires(0), reason(r), id(uid) { regex = NULL; manager = NULL; |