From d0907cf5e1084fdc5b5eaeab3fd1d4b84226b1e0 Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 8 Dec 2005 16:39:42 +0000 Subject: 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 --- src/modules/m_spanningtree.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/modules/m_spanningtree.cpp') 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()); -- cgit v1.2.3