summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index d33da7e7d..9f7073615 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -1228,7 +1228,7 @@ bool process_module_umode(char umode, userrec* source, void* dest, bool adding)
{
s2 = new userrec;
strlcpy(s2->nick,ServerName,NICKMAX);
- strcpy(s2->modes,"o",52);
+ strlcpy(s2->modes,"o",52);
s2->fd = -1;
source = s2;
faked = true;