summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-23 20:03:59 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-02-23 20:03:59 +0000
commitb8717363a9394c3776c77932e2ef82373b877eba (patch)
treeb9bb3baea08964d6a4285eb93bef89a5dc6f675e /src
parent3346a13eb8926c0d421651471716da0549c26c49 (diff)
Moved LIST header
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3308 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r--src/modules/m_safelist.cpp10
1 files changed, 3 insertions, 7 deletions
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;
}