mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-10 15:47:30 +01:00
* src/mod_irc/mod_irc_connection.erl: Fix compilation warnings.
SVN Revision: 2006
This commit is contained in:
parent
79247dad41
commit
e34d6e3678
@ -1,3 +1,7 @@
|
||||
2009-04-08 Badlop <badlop@process-one.net>
|
||||
|
||||
* src/mod_irc/mod_irc_connection.erl: Fix compilation warnings.
|
||||
|
||||
2009-04-01 Badlop <badlop@process-one.net>
|
||||
|
||||
* doc/release_notes_2.0.5.txt: Added file for new release
|
||||
|
@ -371,25 +371,25 @@ handle_info({route_chan, Channel, Resource,
|
||||
From = StateData#state.user,
|
||||
To = exmpp_jid:make_jid(lists:concat([Channel, "%", StateData#state.server]),
|
||||
StateData#state.host, StateData#state.nick),
|
||||
case exmpp_iq:xmlel_to_iq(El) of
|
||||
_ = case exmpp_iq:xmlel_to_iq(El) of
|
||||
#iq{kind = request, ns = ?NS_MUC_ADMIN} = IQ_Rec ->
|
||||
iq_admin(StateData, Channel, From, To, IQ_Rec);
|
||||
#iq{kind = request, ns = ?NS_SOFT_VERSION} ->
|
||||
Res = io_lib:format("PRIVMSG ~s :\001VERSION\001\r\n",
|
||||
[Resource]),
|
||||
?SEND(Res),
|
||||
_ = ?SEND(Res),
|
||||
Err = exmpp_iq:error(El, 'feature-not-implemented'),
|
||||
ejabberd_router:route(To, From, Err);
|
||||
#iq{kind = request, ns = ?NS_TIME_OLD} ->
|
||||
Res = io_lib:format("PRIVMSG ~s :\001TIME\001\r\n",
|
||||
[Resource]),
|
||||
?SEND(Res),
|
||||
_ = ?SEND(Res),
|
||||
Err = exmpp_iq:error(El, 'feature-not-implemented'),
|
||||
ejabberd_router:route(To, From, Err);
|
||||
#iq{kind = request, ns = ?NS_VCARD} ->
|
||||
Res = io_lib:format("WHOIS ~s \r\n",
|
||||
[Resource]),
|
||||
?SEND(Res),
|
||||
_ = ?SEND(Res),
|
||||
Err = exmpp_iq:error(El, 'feature-not-implemented'),
|
||||
ejabberd_router:route(To, From, Err);
|
||||
#iq{} ->
|
||||
|
Loading…
Reference in New Issue
Block a user