summaryrefslogtreecommitdiff
path: root/src/account.c
diff options
context:
space:
mode:
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 b8945b1..fed2b00 100644
--- a/src/account.c
+++ b/src/account.c
@@ -504,6 +504,12 @@ struct sip_addr *account_laddr(const struct account *acc)
}
+uint32_t account_regint(const struct account *acc)
+{
+ return acc ? acc->regint : 0;
+}
+
+
static const char *answermode_str(enum answermode mode)
{
switch (mode) {