--- a/mod_auth_imap/auth_imap/mod_auth_imap.lua Thu Sep 26 18:30:46 2013 +0100
+++ b/mod_auth_imap/auth_imap/mod_auth_imap.lua Thu Sep 26 18:35:42 2013 +0100
@@ -8,7 +8,7 @@
local imap_host = module:get_option_string("imap_auth_host", "localhost");
local imap_port = module:get_option_number("imap_auth_port");
-local imap_service_realm = module:get_option_string("imap_auth_realm", module_get_option("sasl_realm"));
+local imap_service_realm = module:get_option_string("imap_auth_realm", module:get_option("sasl_realm"));
local imap_service_name = module:get_option_string("imap_auth_service_name");
local append_host = module:get_option_boolean("auth_append_host");