From 985055d64d1e47bd14b5151859e1ddbf45724c16 Mon Sep 17 00:00:00 2001 From: Griatch Date: Sun, 2 Feb 2014 09:26:43 +0100 Subject: [PATCH] Some minor changes before merging --- contrib/dice.py | 2 +- contrib/menu_login.py | 2 +- src/utils/evform_test.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contrib/dice.py b/contrib/dice.py index 22b7af0415..acd4b7c50a 100644 --- a/contrib/dice.py +++ b/contrib/dice.py @@ -150,7 +150,7 @@ class CmdDice(default_cmds.MuxCommand): # Limit the number of dice and sides a character can roll to prevent server slow down and crashes ndicelimit = 10000 # Maximum number of dice - nsidelimit = 100000000000 # Maximum number of sides + nsidelimit = 10000 # Maximum number of sides if int(parts[0]) > ndicelimit or int(parts[2]) > nsidelimit: self.caller.msg("The maximum roll allowed is %sd%s." % (ndicelimit, nsidelimit)) return diff --git a/contrib/menu_login.py b/contrib/menu_login.py index 23b4fcbb8a..54e843700e 100644 --- a/contrib/menu_login.py +++ b/contrib/menu_login.py @@ -362,4 +362,4 @@ class CmdUnloggedinLook(Command): menu = MenuTree(self.caller, nodes=(START, node1a, node1b, node2a, node2b, node3), exec_end=None) - menu.start() \ No newline at end of file + menu.start() diff --git a/src/utils/evform_test.py b/src/utils/evform_test.py index 03d2e49ebb..084195f249 100644 --- a/src/utils/evform_test.py +++ b/src/utils/evform_test.py @@ -7,7 +7,7 @@ FORMCHAR = "x" TABLECHAR = "c" FORM = """ -{c.------------------------------------------------. +.------------------------------------------------. | | | Name: xxxxx1xxxxx Player: xxxxxxx2xxxxxxx | | xxxxxxxxxxx |