summaryrefslogtreecommitdiff
path: root/server.py
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-17 21:23:50 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-17 21:23:50 -0300
commitbab52768050b4f43f75a5a2df5bfa40f1d5aa000 (patch)
treea7d6d1d3108a0f8d31a5a9bd32eda521d62c51ae /server.py
parent89764efd5034a72577d39fb7dfc89e7e14e122d4 (diff)
downloadserver-bab52768050b4f43f75a5a2df5bfa40f1d5aa000.tar.gz
server-bab52768050b4f43f75a5a2df5bfa40f1d5aa000.tar.bz2
server-bab52768050b4f43f75a5a2df5bfa40f1d5aa000.tar.xz
server-bab52768050b4f43f75a5a2df5bfa40f1d5aa000.zip
Add formating rules for SERVNOTICE
Diffstat (limited to 'server.py')
-rwxr-xr-xserver.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/server.py b/server.py
index 001375c..521df85 100755
--- a/server.py
+++ b/server.py
@@ -141,7 +141,7 @@ try:
com=" ".join(command.split(' ')[1:])
# Parse the command
if cmd in ["broadcast", "global", "msg", "say"]:
- sendmsg(com)
+ sendmsg("NOTICE:" + com)
if cmd in ["ban", "block", "nuke"]:
security.ban_ip(com)
if cmd in ["exit", "quit", "close", "term", "end"]: