diff options
author | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-08 20:12:09 +0000 |
---|---|---|
committer | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-07-08 20:12:09 +0000 |
commit | 8ba0d3ae4088035a604789a86bc9e9123eaed636 (patch) | |
tree | 563697fab0e182fe9925303034ef541cd86b38f3 /src | |
parent | 4fa01bc07bed242efabb82cb5a31959d0075abac (diff) |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/modules.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
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) |