From 8ba0d3ae4088035a604789a86bc9e9123eaed636 Mon Sep 17 00:00:00 2001 From: special Date: Sat, 8 Jul 2006 20:12:09 +0000 Subject: Forward port of fix for Add*Line to apply automatically git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4187 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/modules.cpp') diff --git a/src/modules.cpp b/src/modules.cpp index 92841cb2b..2f236b1c9 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -780,21 +780,25 @@ bool Server::PseudoToUser(userrec* alive, userrec* zombie, const std::string &me void Server::AddGLine(long duration, const std::string &source, const std::string &reason, const std::string &hostmask) { add_gline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); + apply_lines(APPLY_GLINES); } void Server::AddQLine(long duration, const std::string &source, const std::string &reason, const std::string &nickname) { add_qline(duration, source.c_str(), reason.c_str(), nickname.c_str()); + apply_lines(APPLY_QLINES); } void Server::AddZLine(long duration, const std::string &source, const std::string &reason, const std::string &ipaddr) { add_zline(duration, source.c_str(), reason.c_str(), ipaddr.c_str()); + apply_lines(APPLY_ZLINES); } void Server::AddKLine(long duration, const std::string &source, const std::string &reason, const std::string &hostmask) { add_kline(duration, source.c_str(), reason.c_str(), hostmask.c_str()); + apply_lines(APPLY_KLINES); } void Server::AddELine(long duration, const std::string &source, const std::string &reason, const std::string &hostmask) -- cgit v1.3.1-10-gc9f91