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 ++++++++----- src/svn-rev.sh | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) (limited to 'src') 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++; diff --git a/src/svn-rev.sh b/src/svn-rev.sh index 041e0a726..5c6d9e567 100755 --- a/src/svn-rev.sh +++ b/src/svn-rev.sh @@ -1 +1 @@ -echo 3391 +echo 3393 -- cgit v1.2.3