Add debug logging for Telnet protocol negotiation
[mudpy.git] / mudpy / daemon.py
old mode 100755 (executable)
new mode 100644 (file)
index 2413204..436a5ef
@@ -1,9 +1,9 @@
-# Copyright (c) 2004-2016 Jeremy Stanley <fungi@yuggoth.org>. Permission
+# Copyright (c) 2004-2017 Jeremy Stanley <fungi@yuggoth.org>. Permission
 # to use, copy, modify, and distribute this software is granted under
 # terms provided in the LICENSE file distributed with this software.
 
 # core objects for the mudpy engine
-import imp
+import importlib
 import sys
 
 import mudpy
@@ -21,7 +21,7 @@ def main():
 
         # the world was flagged for a reload of all code/data
         if mudpy.misc.universe.reload_flag:
-            imp.reload(mudpy)
+            importlib.reload(mudpy)
             mudpy.misc.reload_data()
             mudpy.misc.universe.reload_flag = False