Software / code / verse
Comparison
plugins/session.lua @ 78:f4188eff53a7
verse.client, verse.plugins.bind, verse.plugins.session: Rename binding-success and binding-failure to bind-success and bind-failure for consistency
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sun, 30 May 2010 02:54:15 +0100 |
| parent | 75:f5ac4e39e84f |
| child | 197:7e98cf2c1d8d |
comparison
equal
deleted
inserted
replaced
| 77:7af3e57501c2 | 78:f4188eff53a7 |
|---|---|
| 18 stream:event("session-failure", { error = condition, text = text, type = type }); | 18 stream:event("session-failure", { error = condition, text = text, type = type }); |
| 19 end | 19 end |
| 20 end); | 20 end); |
| 21 return true; | 21 return true; |
| 22 end | 22 end |
| 23 stream:hook("binding-success", handle_binding); | 23 stream:hook("bind-success", handle_binding); |
| 24 end | 24 end |
| 25 end | 25 end |
| 26 stream:hook("stream-features", handle_features); | 26 stream:hook("stream-features", handle_features); |
| 27 | 27 |
| 28 return true; | 28 return true; |