aboutsummaryrefslogtreecommitdiff
path: root/src/Control.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/Control.py')
-rw-r--r--src/Control.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Control.py b/src/Control.py
index 57f48ea4..cabea9f2 100644
--- a/src/Control.py
+++ b/src/Control.py
@@ -102,6 +102,9 @@ class Control(PollSource.PollSource):
result = self._bot.try_reload_modules()
response_data = result.message
keepalive = False
+ elif command == "stop":
+ self._bot.stop()
+ keepalive = False
self._send_action(client, response_action, response_data, id)
if not keepalive: