From 4d77a64e86311fb4fb1f5d2023fe1973001a682a Mon Sep 17 00:00:00 2001 From: special Date: Sat, 8 Jul 2006 20:01:45 +0000 Subject: Made Add*Line automatically apply the new line git-svn-id: http://svn.inspircd.org/repository/branches/1_0_stable@4186 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 529946220..61dc752ff 100644 --- a/src/modules.cpp +++ b/src/modules.cpp @@ -754,21 +754,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