summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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