From c1a107f780d346dab1915b1d64836875a3f4365a Mon Sep 17 00:00:00 2001 From: peavey Date: Thu, 25 Sep 2008 12:41:39 +0000 Subject: Also fix here; glob patterns may not start with > or <. TODO: iterate comma sep tokenlist to catch LIST >0,<10000 as other IRCDs do. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10599 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_safelist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_safelist.cpp b/src/modules/m_safelist.cpp index 0d5334da4..1f73a7bf2 100644 --- a/src/modules/m_safelist.cpp +++ b/src/modules/m_safelist.cpp @@ -145,7 +145,7 @@ class ModuleSafeList : public Module /* * start at channel 0! ;) */ - ld = new ListData(0,ServerInstance->Time(), pcnt ? parameters[0] : "*", minusers, maxusers); + ld = new ListData(0,ServerInstance->Time(), (pcnt && (parameters[0][0] != '<' && parameters[0][0] != '>')) ? parameters[0] : "*", minusers, maxusers); user->Extend("safelist_cache", ld); time_t* llt = new time_t; -- cgit v1.2.3