diff options
Diffstat (limited to 'src/mod_version.erl')
-rw-r--r-- | src/mod_version.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mod_version.erl b/src/mod_version.erl index 236f2de7f..ec71a8eed 100644 --- a/src/mod_version.erl +++ b/src/mod_version.erl @@ -28,8 +28,8 @@ stop(Host) -> gen_iq_handler:remove_iq_handler(ejabberd_local, Host, ?NS_VERSION). -process_local_iq(From, To, #iq{id = ID, type = Type, - xmlns = XMLNS, sub_el = SubEl} = IQ) -> +process_local_iq(_From, To, #iq{id = _ID, type = Type, + xmlns = _XMLNS, sub_el = SubEl} = IQ) -> case Type of set -> IQ#iq{type = error, sub_el = [SubEl, ?ERR_NOT_ALLOWED]}; |