diff options
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_safelist.cpp | 13 |
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++; |