From 1963fba97f107f73fa825b22e9ae5a027f5292d9 Mon Sep 17 00:00:00 2001 From: w00t Date: Wed, 16 Jan 2008 07:59:09 +0000 Subject: Hacked-up culllist: stores user pointers rather than CullItem, as creating them seems to be very expensive and wasteful. Doesn't support silent quits (yet), and User::QuitUser seems to trigger *many* times per user before they are removed (socketengine getting write events to closed socket perhaps). It's still much quicker than the old way (NO perceptible lag AT ALL :)) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8714 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/users.h | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'include/users.h') diff --git a/include/users.h b/include/users.h index c795ae1a4..9d210931c 100644 --- a/include/users.h +++ b/include/users.h @@ -481,10 +481,6 @@ class CoreExport User : public connection */ void DecrementModes(); - /** Oper-only quit message for this user if non-null - */ - char* operquit; - /** Max channels for this user */ unsigned int MaxChans; @@ -616,6 +612,14 @@ class CoreExport User : public connection */ std::string sendq; + /** Message user will quit with. Not to be set externally. + */ + std::string quitmsg; + + /** Quit message shown to opers - not to be set externally. + */ + std::string operquitmsg; + /** Flood counters - lines received */ unsigned int lines_in; -- cgit v1.2.3