diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-29 20:45:28 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-08-29 20:45:28 +0000 |
commit | f24aca48ff6405f9231230bd7a91ee05d474f603 (patch) | |
tree | 576c5e0d252e98b34c818ea8087b539aef762807 | |
parent | 7015eeaa33b8a1650595484f53076faf2de8243b (diff) |
Put servername in remote quits
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5077 e03df62e-2008-0410-955e-edbf42e46eb7
-rw-r--r-- | src/users.cpp | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/src/users.cpp b/src/users.cpp index 36905beef..cde35c862 100644 --- a/src/users.cpp +++ b/src/users.cpp @@ -713,19 +713,15 @@ void userrec::QuitUser(InspIRCd* Instance, userrec *user,const std::string &quit } /* - * this must come before the ServerInstance->WriteOpers so that it doesnt try to fill their buffer with anything - * if they were an oper with +s. - * - * XXX - - * In the current implementation, we only show local quits, as we only show local connects. With - * the proposed implmentation of snomasks however, this will likely change in the (near?) future. + * this must come before the ServerInstance->SNO->WriteToSnoMaskso that it doesnt try to fill their buffer with anything + * if they were an oper with +sn +qQ. */ 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()); else - 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 on server %s: %s!%s@%s [%s]",user->server,user->nick,user->ident,user->host,reason.c_str()); user->AddToWhoWas(); } |