summaryrefslogtreecommitdiff
path: root/src/mod_register.erl
diff options
context:
space:
mode:
authorEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-11-24 15:06:06 +0300
committerEvgeniy Khramtsov <ekhramtsov@process-one.net>2016-11-24 15:06:06 +0300
commit49f1275e2005c8bce2fdcad8499f4fad94a9d768 (patch)
tree6a59368ac3f94d6e03f80694bf80dbf502f8e07a /src/mod_register.erl
parentAdd missing -callbacks (diff)
Get rid of excessive (io)list_to_binary/1 calls
Diffstat (limited to 'src/mod_register.erl')
-rw-r--r--src/mod_register.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mod_register.erl b/src/mod_register.erl
index dc8ca995..3cec0660 100644
--- a/src/mod_register.erl
+++ b/src/mod_register.erl
@@ -392,7 +392,7 @@ send_registration_notifications(Mod, UJID, Source) ->
[] -> ok;
JIDs when is_list(JIDs) ->
Body =
- iolist_to_binary(io_lib:format("[~s] The account ~s was registered from "
+ (str:format("[~s] The account ~s was registered from "
"IP address ~s on node ~w using ~p.",
[get_time_string(),
jid:to_string(UJID),