From 9927dccff26955e79f3c193e931afac019c35ce2 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 24 Apr 2004 20:01:06 +0000 Subject: Q-lines fully working, can add and remove other types of ban (but not enforced yet) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@714 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/inspircd.cpp') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index a3177e949..618365c8b 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -2749,10 +2749,10 @@ void SetupCommandTable(void) createcommand("MODULES",handle_modules,'o',0); createcommand("LINKS",handle_links,0,0); createcommand("MAP",handle_map,0,0); - createcommand("KLINE",handle_kline,'o',3); - createcommand("GLINE",handle_gline,'o',3); - createcommand("ZLINE",handle_zline,'o',3); - createcommand("QLINE",handle_qline,'o',3); + createcommand("KLINE",handle_kline,'o',1); + createcommand("GLINE",handle_gline,'o',1); + createcommand("ZLINE",handle_zline,'o',1); + createcommand("QLINE",handle_qline,'o',1); } void process_buffer(const char* cmdbuf,userrec *user) @@ -3142,6 +3142,8 @@ int InspIRCd(void) #ifdef _POSIX_PRIORITY_SCHEDULING sched_yield(); #endif + // update the status of klines, etc + expire_lines(); fd_set sfd; timeval tval; -- cgit v1.3.1-10-gc9f91