aboutsummaryrefslogtreecommitdiff
path: root/mcwrapper/__init__.py
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2016-10-23 15:17:07 +0200
committerKarel Kočí <cynerd@email.cz>2016-10-23 15:18:15 +0200
commitd7b7cdf04c4a04eae1a44b53a8091fd1cda9d90f (patch)
tree557f1ecc47707e82e618f38a8a928e2517d760b1 /mcwrapper/__init__.py
parent2218dc3e6adaedeb53fd166f4fb8b6f5b3ede7bc (diff)
downloadmcserver-wrapper-d7b7cdf04c4a04eae1a44b53a8091fd1cda9d90f.tar.gz
mcserver-wrapper-d7b7cdf04c4a04eae1a44b53a8091fd1cda9d90f.tar.bz2
mcserver-wrapper-d7b7cdf04c4a04eae1a44b53a8091fd1cda9d90f.zip
Load mod file every time new message is going to be printed
Diffstat (limited to 'mcwrapper/__init__.py')
-rwxr-xr-xmcwrapper/__init__.py8
1 files changed, 0 insertions, 8 deletions
diff --git a/mcwrapper/__init__.py b/mcwrapper/__init__.py
index dec7194..18e73aa 100755
--- a/mcwrapper/__init__.py
+++ b/mcwrapper/__init__.py
@@ -35,12 +35,6 @@ __HELP_DESC__ = """
"""
-def reload():
- "Reloads input files. Currently applicable only on mod."
- if mcserver_mod is not None:
- mcserver_mod.load_mods()
-
-
def main():
"Main function"
global verbose_level
@@ -80,8 +74,6 @@ def main():
command.append('nogui')
alarm.init()
- signal.signal(signal.SIGUSR1, reload)
- signal.signal(signal.SIGUSR2, reload) # probably can be used for something else in future
global mcserver_wrapper
mcserver_wrapper = MCWrapper(command, pfile, sfile)