From dcae3436879493041e83eae219479040874a96c6 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Thu, 19 Sep 2013 11:43:50 +0200 Subject: [PATCH] Remove some sage-related code that is not relevant anymore. --- src/General/Config.coffee | 5 +---- src/Miscellaneous/Anonymize.coffee | 7 ++----- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/src/General/Config.coffee b/src/General/Config.coffee index d6a194787..a214386d5 100644 --- a/src/General/Config.coffee +++ b/src/General/Config.coffee @@ -107,10 +107,7 @@ Config = # Set a custom class for moot: #/Admin$/;highlight:moot;op:yes """ - email: """ - # Filter any e-mails that are not `sage` on /a/ and /jp/: - #/^(?!sage$)/;boards:a,jp - """ + email: "" subject: """ # Filter Generals on /v/: #/general/i;boards:v;op:only diff --git a/src/Miscellaneous/Anonymize.coffee b/src/Miscellaneous/Anonymize.coffee index bcbca4833..d5b80f99c 100644 --- a/src/Miscellaneous/Anonymize.coffee +++ b/src/Miscellaneous/Anonymize.coffee @@ -14,8 +14,5 @@ Anonymize = $.rm tripcode delete @nodes.tripcode if @info.email - if /sage/i.test @info.email - email.href = 'mailto:sage' - else - $.replace email, name - delete @nodes.email + $.replace email, name + delete @nodes.email