move some global settings into alias.c where it belongs.
[apps/madmutt.git] / muttlib.c
index 00d0e90..d07c643 100644 (file)
--- a/muttlib.c
+++ b/muttlib.c
@@ -322,7 +322,7 @@ char *_mutt_expand_path (char *s, size_t slen, int rx)
         HEADER *h;
         address_t *alias;
 
-        if ((alias = alias_lookup(Aliases, s + 1))) {
+        if ((alias = alias_lookup(s + 1))) {
           h = header_new();
           h->env = envelope_new();
           h->env->from = h->env->to = alias;