diff -r be6815a9653a -r 6d4f43f7dc19 structs.go --- a/structs.go Sat Jan 07 20:41:16 2012 -0700 +++ b/structs.go Sat Jan 07 21:20:23 2012 -0700 @@ -530,6 +530,10 @@ return stan, nil } +var bindExt Extension = Extension{StanzaHandlers: + map[string] func(*xml.Name) interface{}{NsBind: newBind}, + Start: func(cl *Client) {}} + func newBind(name *xml.Name) interface{} { return &bindIq{} }