summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-01 11:46:54 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-03-01 11:46:54 +0000
commit3d4131748f738c80c37b058ad19ec30d25b72906 (patch)
tree3a2c750452f5612a6e495d9a364907bc22c9bb60 /src/modules
parenta22f1e74e40d4d6656bed877e614f3f974ef7130 (diff)
Fix for missing 'end of list' numeric
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@3394 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_safelist.cpp13
1 files changed, 8 insertions, 5 deletions
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++;