summaryrefslogtreecommitdiff
path: root/src/users.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/users.cpp')
-rw-r--r--src/users.cpp5
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