diff options
author | Sean B. Palmer <http://inamidst.com/sbp/> | 2008-04-26 15:54:35 +0100 |
---|---|---|
committer | Sean B. Palmer <http://inamidst.com/sbp/> | 2008-04-26 15:54:35 +0100 |
commit | 986953131d1e399a9b277984a2234cd0c5f7656c (patch) | |
tree | babe5d30a618c40b059421b43a9ca19b9b1beb14 /modules/codepoints.py | |
parent | 286d4a8497621d2f3c0f1f8d66db60b11c87fad5 (diff) | |
download | bot-986953131d1e399a9b277984a2234cd0c5f7656c.tar.gz bot-986953131d1e399a9b277984a2234cd0c5f7656c.tar.bz2 bot-986953131d1e399a9b277984a2234cd0c5f7656c.zip |
Allow the user to configure the port in the config, and other fixes.
Diffstat (limited to 'modules/codepoints.py')
-rwxr-xr-x | modules/codepoints.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/codepoints.py b/modules/codepoints.py index 797fada..9ae06b5 100755 --- a/modules/codepoints.py +++ b/modules/codepoints.py @@ -75,7 +75,9 @@ def u(phenny, input): if set(arg.upper()) - set( 'ABCDEFGHIJKLMNOPQRSTUVWYXYZ0123456789- .?+*{}[]\\/^$'): printable = False - else: printable = True + elif len(arg) > 1: + printable = True + else: printable = False if printable: extended = False |