This repository was archived by the owner on Apr 27, 2019. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
plugins/core/admin_commands_plugin Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -62,20 +62,12 @@ def promote(self, data):
6262 self .logger .trace ("Player object in promote command, found by name, is %s." % str (player ))
6363 if player is not None :
6464 self .logger .trace ("Player object was not None. Dump of player object follows." )
65- < << << << HEAD
6665 for line in pprint .pformat (player ).split ("\n " ):
6766 self .logger .trace ("\t " + line )
6867 old_rank = player .access_level
6968 if old_rank >= self .protocol .player .access_level :
7069 self .logger .trace (
7170 "The old rank was greater or equal to the current rank. Sending a message and returning." )
72- == == == =
73- for line in pprint .pformat (player ):
74- self .logger .trace ("\t " + line )
75- old_rank = player .access_level
76- if old_rank >= self .protocol .player .access_level :
77- self .logger .trace ("The old rank was greater or equal to the current rank. Sending a message and returning." )
78- > >> >> >> 2e8 bda81d627d13dfb3f4c4f329bd1b2417d3fde
7971 self .protocol .send_chat_message (
8072 "You cannot change that user's access level as they are at least at an equal level as you." )
8173 return
You can’t perform that action at this time.
0 commit comments