25
1
mirror of https://github.com/processone/ejabberd.git synced 2024-10-15 15:19:20 +02:00

Improve the type spec

This commit is contained in:
Evgeniy Khramtsov 2013-06-24 13:15:07 +10:00
parent 521bae7fa0
commit 7b07c2a9b2

View File

@ -55,7 +55,7 @@
-type matchspec_atom() :: '_' | '$1' | '$2' | '$3'.
-record(carboncopy,{us :: {binary(), binary()} | matchspec_atom(),
resource :: binary() | matchspec_atom(),
version :: binary() }).
version :: binary() | matchspec_atom()}).
is_carbon_copy(Packet) ->
case xml:get_subtag(Packet, <<"sent">>) of