summaryrefslogtreecommitdiff
path: root/src/message.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.cpp')
-rw-r--r--src/message.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.cpp b/src/message.cpp
index d071b13f0..4f8e25bee 100644
--- a/src/message.cpp
+++ b/src/message.cpp
@@ -425,7 +425,7 @@ void TidyBan(char *ban)
pos_of_pling++;
pos_of_at++;
- strlcpy(NICK,temp,NICKMAX);
+ strlcpy(NICK,temp,NICKMAX-1);
strlcpy(IDENT,pos_of_pling,IDENTMAX+1);
strlcpy(HOST,pos_of_at,160);