summaryrefslogtreecommitdiff
path: root/src/account.c
diff options
context:
space:
mode:
authorAlfred E. Heggestad <aeh@db.org>2016-01-09 20:21:22 +0100
committerAlfred E. Heggestad <aeh@db.org>2016-01-09 20:21:22 +0100
commit4d8a30e750cfcbb6de91b1a4ee9c55411a146821 (patch)
treef95112383a8a5f2841ec41e953e5a53c9d09c608 /src/account.c
parent856d3a5ac00d21d7892d2020a16b33bbd4aa829f (diff)
move playing of ringtones to the menu-module
Diffstat (limited to 'src/account.c')
-rw-r--r--src/account.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/account.c b/src/account.c
index 7b32890..f870e2f 100644
--- a/src/account.c
+++ b/src/account.c
@@ -493,6 +493,12 @@ uint32_t account_pubint(const struct account *acc)
}
+enum answermode account_answermode(const struct account *acc)
+{
+ return acc ? acc->answermode : ANSWERMODE_MANUAL;
+}
+
+
static const char *answermode_str(enum answermode mode)
{
switch (mode) {