From 3d4131748f738c80c37b058ad19ec30d25b72906 Mon Sep 17 00:00:00 2001 From: brain Date: Wed, 1 Mar 2006 11:46:54 +0000 Subject: Fix for missing 'end of list' numeric git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3394 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_safelist.cpp | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_safelist.cpp b/src/modules/m_safelist.cpp index 4ba041c08..debacaaeb 100644 --- a/src/modules/m_safelist.cpp +++ b/src/modules/m_safelist.cpp @@ -107,11 +107,14 @@ class ListTimer : public InspTimer } else { - if (!ld->list_ended) - { - ld->list_ended = true; - WriteServ(u->fd,"323 %s :End of channel list.",u->nick); - } + if (!chan) + { + if (!ld->list_ended) + { + ld->list_ended = true; + WriteServ(u->fd,"323 %s :End of channel list.",u->nick); + } + } } ld->list_position++; -- cgit v1.2.3