X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=alias.cpkg;h=bab4a4993cbbe201750dd32ef36db0742bfdaa3d;hp=7f9843eb6015145626288f4ae680f250928a3fce;hb=b6980caf7b13994c57957872876cdecc21e54a82;hpb=552847916ae6671d52db12880ee337f880cc766b diff --git a/alias.cpkg b/alias.cpkg index 7f9843e..bab4a49 100644 --- a/alias.cpkg +++ b/alias.cpkg @@ -132,7 +132,7 @@ int mutt_addr_is_user(address_t *addr) return 0; if (!ascii_strcasecmp(addr->mailbox, MCore.username) - || string_is_address(addr->mailbox, MCore.username, Hostname) + || string_is_address(addr->mailbox, MCore.username, MCore.shorthost) || string_is_address(addr->mailbox, MCore.username, mutt_fqdn(0)) || string_is_address(addr->mailbox, MCore.username, mutt_fqdn(1)) || (From && !ascii_strcasecmp(From->mailbox, addr->mailbox)))