diff options
| author | 2006-08-29 19:17:20 +0000 | |
|---|---|---|
| committer | 2006-08-29 19:17:20 +0000 | |
| commit | 51f258fc159ba424fdd9b284c00199c51e633027 (patch) | |
| tree | a800d162bb98dfc6958538fe2219c8f7b8907bf7 /src/users.cpp | |
| parent | Implement messages for snomasks +cq (local connect, local quit) (diff) | |
+Q and +C (remote quit and connect) snomasks implemented
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5066 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/users.cpp')
| -rw-r--r-- | src/users.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
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() |
