From f24aca48ff6405f9231230bd7a91ee05d474f603 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 29 Aug 2006 20:45:28 +0000 Subject: Put servername in remote quits git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5077 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/users.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'src/users.cpp') 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(); } -- cgit v1.2.3