summaryrefslogtreecommitdiff
path: root/examples/adhoc_provider.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/adhoc_provider.py')
-rwxr-xr-xexamples/adhoc_provider.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/adhoc_provider.py b/examples/adhoc_provider.py
index 72259555..2bab2f46 100755
--- a/examples/adhoc_provider.py
+++ b/examples/adhoc_provider.py
@@ -68,7 +68,7 @@ class CommandBot(slixmpp.ClientXMPP):
session. Additional, custom data may be saved
here to persist across handler callbacks.
"""
- form = self['xep_0004'].makeForm('form', 'Greeting')
+ form = self['xep_0004'].make_form('form', 'Greeting')
form['instructions'] = 'Send a custom greeting to a JID'
form.addField(var='greeting',
ftype='text-single',