changeset 158 | 2d948fcbb5d7 |
parent 142 | 0ff033eed887 |
child 163 | 3f891f7fe817 |
--- a/xmpp/structs.go Sun Sep 29 21:33:03 2013 -0600 +++ b/xmpp/structs.go Sun Sep 29 21:37:14 2013 -0600 @@ -269,7 +269,7 @@ var bindExt Extension = Extension{} func init() { - bindExt.StanzaHandlers = make(map[xml.Name]reflect.Type) + bindExt.StanzaTypes = make(map[xml.Name]reflect.Type) bName := xml.Name{Space: NsBind, Local: "bind"} - bindExt.StanzaHandlers[bName] = reflect.TypeOf(bindIq{}) + bindExt.StanzaTypes[bName] = reflect.TypeOf(bindIq{}) }