projects
/
mudpy.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use absolute imports in telnet service module
[mudpy.git]
/
lib
/
mudpy
/
telnet.py
diff --git
a/lib/mudpy/telnet.py
b/lib/mudpy/telnet.py
index
d6abd5a
..
3ce73a3
100644
(file)
--- a/
lib/mudpy/telnet.py
+++ b/
lib/mudpy/telnet.py
@@
-106,7
+106,7
@@
def disable(user, telopt, party):
def negotiate_telnet_options(user):
"""Reply to and remove telnet negotiation options from partial_input."""
def negotiate_telnet_options(user):
"""Reply to and remove telnet negotiation options from partial_input."""
- import misc
+ import m
udpy.m
isc
# make a local copy to play with
text = user.partial_input
# make a local copy to play with
text = user.partial_input
@@
-198,7
+198,7
@@
def negotiate_telnet_options(user):
# otherwise, strip out a two-byte IAC command
elif len_text > position + 2:
# otherwise, strip out a two-byte IAC command
elif len_text > position + 2:
- misc.log("Unknown Telnet IAC command %s ignored." % command)
+ m
udpy.m
isc.log("Unknown Telnet IAC command %s ignored." % command)
text = text[:position] + text[position + 2:]
# and this means we got the begining of an IAC
text = text[:position] + text[position + 2:]
# and this means we got the begining of an IAC