From 9c27e48c2561cb589f22f6ccbe2e59e2ad45dd48 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 24 May 2005 18:01:41 +0000 Subject: Changed to not show remote quits (we don't show remote connects after all) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1504 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/inspircd.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/inspircd.cpp b/src/inspircd.cpp index c35cb979f..7d225546c 100644 --- a/src/inspircd.cpp +++ b/src/inspircd.cpp @@ -1132,7 +1132,9 @@ void kill_link(userrec *user,const char* r) // if they were an oper with +s. if (user->registered == 7) { purge_empty_chans(user); - WriteOpers("*** Client exiting: %s!%s@%s [%s]",user->nick,user->ident,user->host,reason); + // fix by brain: only show local quits because we only show local connects (it just makes SENSE) + if (!strcmp(user->server,getservername.c_str())) + WriteOpers("*** Client exiting: %s!%s@%s [%s]",user->nick,user->ident,user->host,reason); AddWhoWas(user); } -- cgit v1.2.3