aboutsummaryrefslogtreecommitdiff
path: root/firma
diff options
context:
space:
mode:
authorrhatto <rhatto>2006-10-10 03:13:55 +0000
committerrhatto <rhatto>2006-10-10 03:13:55 +0000
commite6765a62bc975f10cd202a5914adf558dd873499 (patch)
treec5f479d40f34256ee9d10bc3fc5bcc657e729495 /firma
parent3faffc012b62e1902753f59f251ee59fbe14e328 (diff)
downloadfirma-e6765a62bc975f10cd202a5914adf558dd873499.tar.gz
firma-e6765a62bc975f10cd202a5914adf558dd873499.tar.bz2
NewList and SubscribeUsers minor fixes
Diffstat (limited to 'firma')
-rwxr-xr-xfirma8
1 files changed, 6 insertions, 2 deletions
diff --git a/firma b/firma
index 360228f..4a6e3e9 100755
--- 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"