diff options
Diffstat (limited to 'src/account.cc')
-rw-r--r-- | src/account.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/account.cc b/src/account.cc index 606562b8..f26b7913 100644 --- a/src/account.cc +++ b/src/account.cc @@ -208,7 +208,11 @@ namespace { return scope_value(acct->find_account_re(args.get<mask_t>(0).str())); else return NULL_VALUE; - } else { + } + else if (scope.type_context() == value_t::SCOPE) { + return scope_value(&account); + } + else { return string_value(account.fullname()); } } |