From: brain Date: Tue, 29 Aug 2006 19:15:48 +0000 (+0000) Subject: Implement messages for snomasks +cq (local connect, local quit) X-Git-Tag: v2.0.23~7275 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;h=14314cf3d210b0bb885b7b481b85035dabb0a0f8;p=user%2Fhenk%2Fcode%2Finspircd.git Implement messages for snomasks +cq (local connect, local quit) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5065 e03df62e-2008-0410-955e-edbf42e46eb7 --- diff --git a/src/users.cpp b/src/users.cpp index 7be073bd6..c00fcf415 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -723,7 +723,7 @@ void userrec::QuitUser(InspIRCd* Instance, userrec *user,const std::string &quit if (user->registered == REG_ALL) { if (IS_LOCAL(user)) - Instance->WriteOpers("*** 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()); user->AddToWhoWas(); } @@ -1079,7 +1079,7 @@ void userrec::FullConnect(CullList* Goners) FOREACH_MOD(I_OnUserConnect,OnUserConnect(this)); FOREACH_MOD(I_OnPostConnect,OnPostConnect(this)); this->registered = REG_ALL; - ServerInstance->WriteOpers("*** 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()