diff options
author | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-21 14:21:58 +0000 |
---|---|---|
committer | brain <brain@e03df62e-2008-0410-955e-edbf42e46eb7> | 2005-04-21 14:21:58 +0000 |
commit | d0668060caacf00939fd0b92bf7f3fb84c42fdbe (patch) | |
tree | acd66af6b6c2488790d94a35560f34bbfe7d78ae /src | |
parent | 1498e89b98306a76fd0803db82acd29be1e2a636 (diff) |
Added password field
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@1155 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src')
-rw-r--r-- | src/commands.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp index e69ad41f6..7093386aa 100644 --- a/src/commands.cpp +++ b/src/commands.cpp @@ -430,6 +430,7 @@ void handle_pass(char **parameters, int pcnt, userrec *user) WriteServ(user->fd,"462 %s :You may not reregister",user->nick); return; } + strlcpy(user->password,parameters[0],MAXBUF); if (!strcasecmp(parameters[0],Passwd(user))) { user->haspassed = true; |