summaryrefslogtreecommitdiff
path: root/loginsecurity.py
diff options
context:
space:
mode:
authorPanFritz <redstonenoobpan@gmail.com>2015-09-13 02:13:10 +0200
committerPanFritz <redstonenoobpan@gmail.com>2015-09-13 02:13:10 +0200
commit33fab330e6c51a85f3522c1d53d227db52cc0cb3 (patch)
treeefdc418c87f3d807cc014bc590e891aebe0abffd /loginsecurity.py
parent61202f24825a8e09e6fd5cd49c22804c96f80f81 (diff)
Changed color for messages
Diffstat (limited to 'loginsecurity.py')
-rw-r--r--loginsecurity.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/loginsecurity.py b/loginsecurity.py
index e6922a6..edf51e9 100644
--- a/loginsecurity.py
+++ b/loginsecurity.py
@@ -208,7 +208,7 @@ def on_join(event):
user = event.getPlayer()
py_player = get_py_player(event.getPlayer())
if is_registered(uid(user)):
- msg(event.getPlayer(), "&6You will be disconnected after 60 seconds if you don't &alogin")
+ msg(event.getPlayer(), "&4You will be disconnected after 60 seconds if you don't &alogin")
msg(user, "&cUse /login <password>")
py_player.logging_in = True
py_player.login_time = time.time()
@@ -271,5 +271,5 @@ def pre_command_proccess(event):
if player.logging_in:
args = event.getMessage().split(" ")
if not args[0].lower() == "/login":
- msg(player.player, "&6You need to login before you do that!")
+ msg(player.player, "&4You need to login before you do that!")
event.setCancelled(True) \ No newline at end of file