diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-24 18:01:41 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-05-24 18:01:41 +0000 |
commit | 9c27e48c2561cb589f22f6ccbe2e59e2ad45dd48 (patch) | |
tree | 44117929a4b17ee0180d9aa034b64e6a6935d28f | |
parent | 71803b7c60777b7acb1d0931053dfa0b1ba02a0d (diff) |
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
-rw-r--r-- | src/inspircd.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
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); } |