Permalink
Browse files

Merge pull request #132 from rhcarvalho/master

Fix a typo in several files.
  • Loading branch information...
legastero committed Jan 2, 2012
2 parents 1b0fd76 + 7d1c5f4 commit fb5a6a7d715e91e291971264b0326580b387465b
@@ -40,7 +40,7 @@ def __init__(self, jid, password):
# The session_start event will be triggered when
# the bot establishes its connection with the server
# and the XML streams are ready for use. We want to
- # listen for this event so that we we can intialize
+ # listen for this event so that we we can initialize
# our roster.
self.add_event_handler("session_start", self.start)
@@ -49,7 +49,7 @@ def start(self, event):
Process the session_start event.
Typical actions for the session_start event are
- requesting the roster and broadcasting an intial
+ requesting the roster and broadcasting an initial
presence stanza.
Arguments:
@@ -71,7 +71,7 @@ def start(self, event):
def _handle_command(self, iq, session):
"""
- Respond to the intial request for a command.
+ Respond to the initial request for a command.
Arguments:
iq -- The iq stanza containing the command request.
View
@@ -43,7 +43,7 @@ def __init__(self, jid, password, other, greeting):
# The session_start event will be triggered when
# the bot establishes its connection with the server
# and the XML streams are ready for use. We want to
- # listen for this event so that we we can intialize
+ # listen for this event so that we we can initialize
# our roster.
self.add_event_handler("session_start", self.start)
self.add_event_handler("message", self.message)
@@ -53,7 +53,7 @@ def start(self, event):
Process the session_start event.
Typical actions for the session_start event are
- requesting the roster and broadcasting an intial
+ requesting the roster and broadcasting an initial
presence stanza.
Arguments:
@@ -60,7 +60,7 @@ def __init__(self, jid, password, target_jid, target_node='', get=''):
# The session_start event will be triggered when
# the bot establishes its connection with the server
# and the XML streams are ready for use. We want to
- # listen for this event so that we we can intialize
+ # listen for this event so that we we can initialize
# our roster.
self.add_event_handler("session_start", self.start)
@@ -69,7 +69,7 @@ def start(self, event):
Process the session_start event.
Typical actions for the session_start event are
- requesting the roster and broadcasting an intial
+ requesting the roster and broadcasting an initial
presence stanza.
In this case, we send disco#info and disco#items
View
@@ -40,7 +40,7 @@ def __init__(self, jid, password):
# The session_start event will be triggered when
# the bot establishes its connection with the server
# and the XML streams are ready for use. We want to
- # listen for this event so that we we can intialize
+ # listen for this event so that we we can initialize
# our roster.
self.add_event_handler("session_start", self.start)
@@ -54,7 +54,7 @@ def start(self, event):
Process the session_start event.
Typical actions for the session_start event are
- requesting the roster and broadcasting an intial
+ requesting the roster and broadcasting an initial
presence stanza.
Arguments:
View
@@ -44,7 +44,7 @@ def __init__(self, jid, password, room, nick):
# The session_start event will be triggered when
# the bot establishes its connection with the server
# and the XML streams are ready for use. We want to
- # listen for this event so that we we can intialize
+ # listen for this event so that we we can initialize
# our roster.
self.add_event_handler("session_start", self.start)
@@ -68,7 +68,7 @@ def start(self, event):
Process the session_start event.
Typical actions for the session_start event are
- requesting the roster and broadcasting an intial
+ requesting the roster and broadcasting an initial
presence stanza.
Arguments:
View
@@ -43,7 +43,7 @@ def __init__(self, jid, password, pingjid):
# The session_start event will be triggered when
# the bot establishes its connection with the server
# and the XML streams are ready for use. We want to
- # listen for this event so that we we can intialize
+ # listen for this event so that we we can initialize
# our roster.
self.add_event_handler("session_start", self.start)
@@ -52,7 +52,7 @@ def start(self, event):
Process the session_start event.
Typical actions for the session_start event are
- requesting the roster and broadcasting an intial
+ requesting the roster and broadcasting an initial
presence stanza.
Arguments:
@@ -40,7 +40,7 @@ def __init__(self, jid, password):
# The session_start event will be triggered when
# the bot establishes its connection with the server
# and the XML streams are ready for use. We want to
- # listen for this event so that we we can intialize
+ # listen for this event so that we we can initialize
# our roster.
self.add_event_handler("session_start", self.start)
@@ -54,7 +54,7 @@ def start(self, event):
Process the session_start event.
Typical actions for the session_start event are
- requesting the roster and broadcasting an intial
+ requesting the roster and broadcasting an initial
presence stanza.
Arguments:
@@ -42,7 +42,7 @@ def __init__(self, jid, password):
# The session_start event will be triggered when
# the bot establishes its connection with the server
# and the XML streams are ready for use. We want to
- # listen for this event so that we we can intialize
+ # listen for this event so that we we can initialize
# our roster. We need threaded=True so that the
# session_start handler doesn't block event processing
# while we wait for presence stanzas to arrive.
@@ -57,7 +57,7 @@ def start(self, event):
Process the session_start event.
Typical actions for the session_start event are
- requesting the roster and broadcasting an intial
+ requesting the roster and broadcasting an initial
presence stanza.
Arguments:
View
@@ -45,7 +45,7 @@ def __init__(self, jid, password, recipient, message):
# The session_start event will be triggered when
# the bot establishes its connection with the server
# and the XML streams are ready for use. We want to
- # listen for this event so that we we can intialize
+ # listen for this event so that we we can initialize
# our roster.
self.add_event_handler("session_start", self.start)
@@ -54,7 +54,7 @@ def start(self, event):
Process the session_start event.
Typical actions for the session_start event are
- requesting the roster and broadcasting an intial
+ requesting the roster and broadcasting an initial
presence stanza.
Arguments:
@@ -149,7 +149,7 @@ def add_command(self, jid=None, node=None, name='', handler=None):
Access control may be implemented in the provided handler.
Command workflow is done across a sequence of command handlers. The
- first handler is given the intial Iq stanza of the request in order
+ first handler is given the initial Iq stanza of the request in order
to support access control. Subsequent handlers are given only the
payload items of the command. All handlers will receive the command's
session data.

0 comments on commit fb5a6a7

Please sign in to comment.