]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Changed to not show remote quits (we don't show remote connects after all)
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 24 May 2005 18:01:41 +0000 (18:01 +0000)
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>
Tue, 24 May 2005 18:01:41 +0000 (18:01 +0000)
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1504 e03df62e-2008-0410-955e-edbf42e46eb7

src/inspircd.cpp

index c35cb979f951ac0f455b5c913fe2caa305d88e5c..7d225546ce23f027aa6d449602fd13756988dabf 100644 (file)
@@ -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);
        }