From b8717363a9394c3776c77932e2ef82373b877eba Mon Sep 17 00:00:00 2001 From: brain Date: Thu, 23 Feb 2006 20:03:59 +0000 Subject: Moved LIST header git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3308 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_safelist.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/modules/m_safelist.cpp') diff --git a/src/modules/m_safelist.cpp b/src/modules/m_safelist.cpp index 4c1356844..b3dfc93b9 100644 --- a/src/modules/m_safelist.cpp +++ b/src/modules/m_safelist.cpp @@ -87,6 +87,8 @@ class ListTimer : public InspTimer do { log(DEBUG,"Channel %ld",ld->list_position); + if (!ld->list_position) + WriteServ(u->fd,"321 %s Channel :Users Name",u->nick); chan = Srv->GetChannelIndex(ld->list_position); /* spool details */ if (chan) @@ -200,13 +202,7 @@ class ModuleSafeList : public Module time_t* llt = new time_t; *llt = TIME; user->Extend("safelist_last",(char*)llt); - - WriteServ(user->fd,"321 %s Channel :Users Name",user->nick); - /* - * If we can, we try and fill up the user's sendq right now with the first batch of channels, - * which on a small net, may be ALL of them. - */ - this->OnBackgroundTimer(TIME); + return 1; } -- cgit v1.2.3