summaryrefslogtreecommitdiff
path: root/src/modules/m_setname.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-12 12:55:06 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2004-04-12 12:55:06 +0000
commit3103cfb80135cbc2a0f47566ec0cb88affc7bac1 (patch)
treea45c2351da691d396ad9b8811483250c6610860a /src/modules/m_setname.cpp
parent642b665fb0967dc9dcbaed5f54b52276ea230e12 (diff)
Abstracted host/gecos changing to Server:: methods
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@563 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_setname.cpp')
-rw-r--r--src/modules/m_setname.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_setname.cpp b/src/modules/m_setname.cpp
index 9ce02b37c..4cf6bb204 100644
--- a/src/modules/m_setname.cpp
+++ b/src/modules/m_setname.cpp
@@ -26,7 +26,7 @@ void handle_setname(char **parameters, int pcnt, userrec *user)
line = line + std::string(parameters[i]);
}
line = line + std::string(parameters[pcnt-1]);
- strncpy(user->fullname,line.c_str(),127);
+ Srv->ChangeGECOS(user,line);
}