summaryrefslogtreecommitdiff
path: root/src
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
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')
-rw-r--r--src/modules/m_safelist.cpp13
-rwxr-xr-xsrc/svn-rev.sh2
2 files changed, 9 insertions, 6 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++;
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