]> gitweb.fluxo.info Git - firma.git/commitdiff
NewList and SubscribeUsers minor fixes
authorrhatto <rhatto>
Tue, 10 Oct 2006 03:13:55 +0000 (03:13 +0000)
committerrhatto <rhatto>
Tue, 10 Oct 2006 03:13:55 +0000 (03:13 +0000)
firma

diff --git a/firma b/firma
index 360228f64f9904152f6a840ac0a9b1541645cd63..4a6e3e96f1ba9fc8fbe08623fef91b6995619b56 100755 (executable)
--- a/firma
+++ b/firma
@@ -1490,8 +1490,12 @@ function SubscribeUsers {
       if [ -z "$3" ]; then
         keyserver="$KEYSERVER"
       else
-        keyserver="$2"
-        shift
+        if ! CheckValidEmail $2; then
+          keyserver="$2"
+          shift
+        else
+          keyserver="$KEYSERVER"
+        fi
       fi
       if CheckValidEmail $2; then
         method="--search-keys"