From: brain Date: Tue, 24 May 2005 18:01:41 +0000 (+0000) Subject: Changed to not show remote quits (we don't show remote connects after all) X-Git-Tag: v2.0.23~10185 X-Git-Url: https://git.netwichtig.de/gitweb/?a=commitdiff_plain;ds=sidebyside;h=9c27e48c2561cb589f22f6ccbe2e59e2ad45dd48;p=user%2Fhenk%2Fcode%2Finspircd.git 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 --- 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); }