# make a local copy to play with
text = user.partial_input
- # start at the begining of the input
+ # start at the beginning of the input
position = 0
# as long as we haven't checked it all
log("Ignored unknown command %s from" % command, user)
text = text[:position] + text[position + 2:]
- # and this means we got the begining of an IAC
+ # and this means we got the beginning of an IAC
else:
position += 1