From 156c232d1d22568d20ec498c4bd344bf03052e4a Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 27 Jul 2007 17:20:41 +0000 Subject: Found the bug, turns out i just introduced it with the last commit :p git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7591 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/users.cpp') diff --git a/src/users.cpp b/src/users.cpp index efaffd2dd..97e2291be 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -1036,6 +1036,7 @@ void userrec::CheckClass() void userrec::FullConnect() { + ServerInstance->Log(DEBUG,"FullConnect"); ServerInstance->stats->statsConnects++; this->idle_lastmsg = ServerInstance->Time(); @@ -1116,6 +1117,8 @@ void userrec::FullConnect() FOREACH_MOD(I_OnPostConnect,OnPostConnect(this)); ServerInstance->SNO->WriteToSnoMask('c',"Client connecting on port %d: %s!%s@%s [%s] [%s]", this->GetPort(), this->nick, this->ident, this->host, this->GetIPString(), this->fullname); + + ServerInstance->Log(DEBUG,"Exit FullConnect"); } /** userrec::UpdateNick() @@ -1354,7 +1357,7 @@ const char* userrec::GetIPString(char* buf) */ void userrec::Write(std::string text) { - if (ServerInstance->SE->BoundsCheckFd(this)) + if (!ServerInstance->SE->BoundsCheckFd(this)) return; try -- cgit v1.3.1-10-gc9f91