From 7e87bb69fc4c3a19280d3780db7ebee76e8956b3 Mon Sep 17 00:00:00 2001 From: Adam Date: Mon, 15 Jul 2013 23:59:19 -0400 Subject: [PATCH] Default xlines to be set by me --- src/xline.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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::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;