From 72fe978b29fa7d9fd7f8e9c2766c06ab1a0a8bc7 Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 16 Jan 2008 09:14:23 +0000 Subject: Two stage commit: don't set user->muted except in QuitUser (duplicate setting), also, change muted to drop all socket operations instead of just not reading the user's buffer if muted is set (no point wasting time - they're going away). Also revert culllist back to once per mainloop iteration now it is much cheaper than previously. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8716 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include') diff --git a/include/users.h b/include/users.h index 4d7b074b6..a452ec014 100644 --- a/include/users.h +++ b/include/users.h @@ -632,11 +632,11 @@ class CoreExport User : public connection */ time_t reset_due; - /** If this is set to true, then all read operations for the user + /** If this is set to true, then all socket operations for the user * are dropped into the bit-bucket. - * This is used by the global CullList, but please note that setting this value - * alone will NOT cause the user to quit. This means it can be used seperately, - * for example by shun modules etc. + * This value is set by QuitUser, and is not needed seperately from that call. + * Please note that setting this value alone will NOT cause the user to quit. + * This means it can be used seperately, for example by shun modules etc. */ bool muted; -- cgit v1.2.3