summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/modules/m_spanningtree.cpp2
-rw-r--r--src/users.cpp6
2 files changed, 5 insertions, 3 deletions
diff --git a/src/modules/m_spanningtree.cpp b/src/modules/m_spanningtree.cpp
index 3a020f342..c3d8e304b 100644
--- a/src/modules/m_spanningtree.cpp
+++ b/src/modules/m_spanningtree.cpp
@@ -1742,7 +1742,7 @@ class TreeSocket : public InspSocket
#endif
_new->SetSockAddr(AF_INET, params[6].c_str(), 0);
- this->Instance->WriteOpers("*** Client connecting at %s: %s!%s@%s [%s]",_new->server,_new->nick,_new->ident,_new->host, _new->GetIPString());
+ this->Instance->SNO->WriteToSnoMask('C',"Client connecting at %s: %s!%s@%s [%s]",_new->server,_new->nick,_new->ident,_new->host, _new->GetIPString());
params[7] = ":" + params[7];
DoOneToAllButSender(source,"NICK",params,source);
diff --git a/src/users.cpp b/src/users.cpp
index c00fcf415..36905beef 100644
--- a/src/users.cpp
+++ b/src/users.cpp
@@ -723,7 +723,9 @@ void userrec::QuitUser(InspIRCd* Instance, userrec *user,const std::string &quit
if (user->registered == REG_ALL)
{
if (IS_LOCAL(user))
- Instance->SNO->WriteToSnoMask('q',"*** Client exiting: %s!%s@%s [%s]",user->nick,user->ident,user->host,reason.c_str());
+ Instance->SNO->WriteToSnoMask('q',"Client exiting: %s!%s@%s [%s]",user->nick,user->ident,user->host,reason.c_str());
+ else
+ Instance->SNO->WriteToSnoMask('Q',"Client exiting: %s!%s@%s [%s]",user->nick,user->ident,user->host,reason.c_str());
user->AddToWhoWas();
}
@@ -1079,7 +1081,7 @@ void userrec::FullConnect(CullList* Goners)
FOREACH_MOD(I_OnUserConnect,OnUserConnect(this));
FOREACH_MOD(I_OnPostConnect,OnPostConnect(this));
this->registered = REG_ALL;
- ServerInstance->SNO->WriteToSnoMask('c',"*** Client connecting on port %d: %s!%s@%s [%s]", this->GetPort(), this->nick, this->ident, this->host, this->GetIPString());
+ ServerInstance->SNO->WriteToSnoMask('c',"Client connecting on port %d: %s!%s@%s [%s]", this->GetPort(), this->nick, this->ident, this->host, this->GetIPString());
}
/** userrec::UpdateNick()