summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-11 18:30:44 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2007-03-11 18:30:44 +0000
commit29771d3c4fd397dbdea891706996541419852c14 (patch)
tree1ade400f56f669fca1d3330899cef87c3273d289 /src/modules
parent6e3901255312a960e08c326cae331bfdb0baa241 (diff)
Fix minor bug, number of users listing doesnt decrement if a user quits while they are in the middle of listing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6662 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_safelist.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/modules/m_safelist.cpp b/src/modules/m_safelist.cpp
index 45e4dab11..11bfe6721 100644
--- a/src/modules/m_safelist.cpp
+++ b/src/modules/m_safelist.cpp
@@ -216,6 +216,7 @@ class ModuleSafeList : public Module
{
u->Shrink("safelist_cache");
DELETE(ld);
+ global_listing--;
}
time_t* last_list_time;
u->GetExt("safelist_last", last_list_time);