diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-08 16:39:42 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-12-08 16:39:42 +0000 |
commit | d0907cf5e1084fdc5b5eaeab3fd1d4b84226b1e0 (patch) | |
tree | 0069c2987d0fc4108dd4c7df05c90f04eb9c0144 /src/modules | |
parent | 32d93141925f23cd894209af44f48918b23dcb51 (diff) |
Now sets expiries properly on glines etc set with ADDLINE
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2270 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_spanningtree.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp index 704407e7a..54a85cb02 100644 --- a/src/modules/m_spanningtree.cpp +++ b/src/modules/m_spanningtree.cpp @@ -1314,15 +1314,19 @@ class TreeSocket : public InspSocket { case 'Z': add_zline(atoi(duration.c_str()), source.c_str(), reason.c_str(), mask.c_str()); + zline_set_creation_time((char*)mask.c_str(), atoi(settime.c_str())); break; case 'Q': add_qline(atoi(duration.c_str()), source.c_str(), reason.c_str(), mask.c_str()); + qline_set_creation_time((char*)mask.c_str(), atoi(settime.c_str())); break; case 'E': add_eline(atoi(duration.c_str()), source.c_str(), reason.c_str(), mask.c_str()); + eline_set_creation_time((char*)mask.c_str(), atoi(settime.c_str())); break; case 'G': add_gline(atoi(duration.c_str()), source.c_str(), reason.c_str(), mask.c_str()); + gline_set_creation_time((char*)mask.c_str(), atoi(settime.c_str())); break; case 'K': add_kline(atoi(duration.c_str()), source.c_str(), reason.c_str(), mask.c_str()); |