More removal of $Id$ tags
[citadel.git] / citadel / modules / pas2 / serv_pas2.c
index 63bd213ae17d3ff3c12fdfc78985cfd7bc67d207..29fd2e47ff4d8f69bf4ea6e01f0cbaa12322fcf3 100644 (file)
@@ -1,6 +1,22 @@
 /*
  * cmd_pas2 - MD5 APOP style auth keyed off of the hash of the password
  *            plus a nonce displayed at the login banner.
+ *
+ * Copyright (c) 1994-2009 by the citadel.org team
+ *
+ *  This program is free software; you can redistribute it and/or modify
+ *  it under the terms of the GNU General Public License as published by
+ *  the Free Software Foundation; either version 3 of the License, or
+ *  (at your option) any later version.
+ *
+ *  This program is distributed in the hope that it will be useful,
+ *  but WITHOUT ANY WARRANTY; without even the implied warranty of
+ *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ *  GNU General Public License for more details.
+ *
+ *  You should have received a copy of the GNU General Public License
+ *  along with this program; if not, write to the Free Software
+ *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  */
 
 #include <stdlib.h>
@@ -53,7 +69,7 @@ void cmd_pas2(char *argbuf)
        
        extract_token(pw, argbuf, 0, '|', sizeof pw);
        
-       if (getuser(&CC->user, CC->curr_user))
+       if (CtdlGetUser(&CC->user, CC->curr_user))
        {
                cprintf("%d Unable to find user record for %s.\n", ERROR + NO_SUCH_USER, CC->curr_user);
                return;
@@ -94,5 +110,5 @@ CTDL_MODULE_INIT(pas2)
        }
        
        /* return our Subversion id for the Log */
-        return "$Id$";
+        return "pas2";
 }