diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-27 17:20:41 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2007-07-27 17:20:41 +0000 |
commit | 156c232d1d22568d20ec498c4bd344bf03052e4a (patch) | |
tree | 8ed920712146b182ef5c95604a597a808ca604a6 /src/users.cpp | |
parent | f3624af468d769f0cb05cf17cd18111f5faa9ec3 (diff) |
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
Diffstat (limited to 'src/users.cpp')
-rw-r--r-- | src/users.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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 |