X-Git-Url: https://mudpy.org/gitweb?p=mudpy.git;a=blobdiff_plain;f=mudpy%2Ftelnet.py;h=ec18f70a64e0881671f1880da6ddbe61c2732d7b;hp=73331b9ae46654c7dd05709ca57c97fa27fc8e1c;hb=29041014a531835bf9b6a80ca9d7ed414a929432;hpb=1e89bee5f3434a5d82d448508e5416a7cc95727c;ds=sidebyside diff --git a/mudpy/telnet.py b/mudpy/telnet.py index 73331b9..ec18f70 100644 --- a/mudpy/telnet.py +++ b/mudpy/telnet.py @@ -188,7 +188,7 @@ def negotiate_telnet_options(user): # 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 @@ -283,7 +283,7 @@ def negotiate_telnet_options(user): 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