mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-26 17:38:45 +01:00
* src/mod_caps.erl: Fix unbound variable
SVN Revision: 2022
This commit is contained in:
parent
13fcbd6413
commit
5ca560d0bd
@ -1,3 +1,7 @@
|
||||
2009-04-17 Badlop <badlop@process-one.net>
|
||||
|
||||
* src/mod_caps.erl: Fix unbound variable
|
||||
|
||||
2009-04-14 Badlop <badlop@process-one.net>
|
||||
|
||||
* doc/guide.tex: Explain that the recommended Erlang/OTP version
|
||||
|
@ -180,7 +180,7 @@ receive_packet(From, To, Packet) when ?IS_PRESENCE(Packet) ->
|
||||
'unavailable' ->
|
||||
clear_caps(From);
|
||||
_ ->
|
||||
ServerString = binary_to_list(StateData#state.server),
|
||||
ServerString = exmpp_jid:ldomain_as_list(To),
|
||||
Els = Packet#xmlel.children,
|
||||
note_caps(ServerString, From, read_caps(Els))
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user