* lib/mudpy/telnet.py: Absolute imports are more readable and easier to
debug, so use them.
def negotiate_telnet_options(user):
"""Reply to and remove telnet negotiation options from partial_input."""
- import misc
+ import mudpy.misc
# make a local copy to play with
text = user.partial_input
# otherwise, strip out a two-byte IAC command
elif len_text > position + 2:
- misc.log("Unknown Telnet IAC command %s ignored." % command)
+ mudpy.misc.log("Unknown Telnet IAC command %s ignored." % command)
text = text[:position] + text[position + 2:]
# and this means we got the begining of an IAC