summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-29 04:43:58 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2005-05-29 04:43:58 +0000
commitea3dc510c16a9bd2c35b51eeeccad313badc03c7 (patch)
tree1feebb78780e7b5d37156afedcf14d04e439eb6f /src/mode.cpp
parent7925c27d37e1a151aafb936c8be442344baf4f0b (diff)
Changed a strcpy to strlcpy
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1549 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/mode.cpp')
-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;