summaryrefslogtreecommitdiff
path: root/src/windows/funcs.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/windows/funcs.py')
-rw-r--r--src/windows/funcs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/windows/funcs.py b/src/windows/funcs.py
index 47011faf..d58d4683 100644
--- a/src/windows/funcs.py
+++ b/src/windows/funcs.py
@@ -20,7 +20,7 @@ def find_first_format_char(text, chars=None):
return pos
def truncate_nick(nick, size=None):
- size = size or config.get('max_nick_length', 25)
+ size = size or config.get('max_nick_length')
if size < 1:
size = 1
if nick and len(nick) > size: