Fix compilation error.

This commit is contained in:
Chteufleur 2016-09-15 09:36:22 +02:00
parent b8576883ad
commit 795d443878
1 changed files with 1 additions and 1 deletions

View File

@ -134,7 +134,7 @@ func mainXMPP() {
} else {
registerQuery.XForm = *getXFormRegistration("")
}
reply.PayloadEncode(cmd)
reply.PayloadEncode(registerQuery)
} else if v.Type == xmpp.IQTypeSet {
v.PayloadDecode(registerQuery)