summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-04 22:31:41 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-04 22:31:41 +0000
commit748d500bc44ac5b5077ace08606d6dfcbc88c425 (patch)
tree3a36d81c61ea0c2b038cd11c750caafcd46d85df /src/modules
parentc0ec231b3c93bee60010ee8f14c0400353b180d9 (diff)
More verbose when setting g/z/k/q/e lines from other servers. With the new system which prevents lag during bursts this won't flood opers quite so much to the point where they quit (i hope) :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3456 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 3cf802d14..b06a76d15 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -1742,11 +1742,20 @@ class TreeSocket : public InspSocket
/* Send it on its way */
if (propogate)
{
+ if (atoi(params[4].c_str()))
+ {
+ WriteOpers("*** %s Added %cLINE on %s to expire in %lu seconds (%s).",prefix.c_str(),*(params[0].c_str()),params[1].c_str(),atoi(params[4].c_str()),params[5].c_str());
+ }
+ else
+ {
+ WriteOpers("*** %s Added permenant %cLINE on %s (%s).",prefix.c_str(),*(params[0].c_str()),params[1].c_str(),params[5].c_str());
+ }
params[5] = ":" + params[5];
DoOneToAllButSender(prefix,"ADDLINE",params,prefix);
}
if (!this->bursting)
{
+ log(DEBUG,"Applying lines...");
apply_lines(APPLY_ZLINES|APPLY_GLINES|APPLY_QLINES);
}
return true;