summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-28 20:22:07 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-12-28 20:22:07 +0000
commit7972cc32495597ac411a51a40d41e0bb42f80a44 (patch)
tree169bcbe8024c5fb66032bd6a5c8581541815081e /src/users.cpp
parent3b6b04b1ee6ce0b9b5274def704170e6181236ec (diff)
New system for client exits using CullList seems stable, needs testing
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2681 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/users.cpp b/src/users.cpp
index bde0f99fd..4db6dedc5 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -35,6 +35,7 @@ using namespace std;
#include "message.h"
#include "wildcard.h"
#include "xline.h"
+#include "cull_list.h"
extern InspIRCd* ServerInstance;
extern int WHOWAS_STALE;
@@ -717,14 +718,14 @@ void FullConnectUser(userrec* user, CullList* Goners)
/* shows the message of the day, and any other on-logon stuff */
-void ConnectUser(userrec *user, CullList* Goners)
-{
+//void ConnectUser(userrec *user)
+//{
// dns is already done, things are fast. no need to wait for dns to complete just pass them straight on
- if ((user->dns_done) && (user->registered >= 3) && (AllModulesReportReady(user)))
- {
- FullConnectUser(user, Goners);
- }
-}
+ //if ((user->dns_done) && (user->registered >= 3) && (AllModulesReportReady(user)))
+ //{
+ // FullConnectUser(user, Goners);
+ //}
+//}
/* re-allocates a nick in the user_hash after they change nicknames,
* returns a pointer to the new user as it may have moved */