]> jfr.im git - irc/evilnet/x3.git/blobdiff - src/nickserv.h
found out from Kyle what b flag is.
[irc/evilnet/x3.git] / src / nickserv.h
index 9c1f6e930d291239ff202042b1107329e577c67b..a613f6b8de52edc9d5e2c3d0ed9e3735336fbdf8 100644 (file)
@@ -1,7 +1,7 @@
 /* nickserv.h - Nick/authentiction service
  * Copyright 2000-2004 srvx Development Team
  *
- * This file is part of srvx.
+ * This file is part of x3.
  *
  * srvx is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -24,7 +24,7 @@
 #include "hash.h"   /* for NICKLEN, etc., and common.h */
 struct svccmd;
 
-#define NICKSERV_HANDLE_LEN NICKLEN
+#define NICKSERV_HANDLE_LEN ACCOUNTLEN
 #define COOKIELEN 10
 
 /* HI_FLAG_* go into handle_info.flags */
@@ -128,6 +128,8 @@ int nickserv_modify_handle_flags(struct userNode *user, struct userNode *bot, co
 int oper_has_access(struct userNode *user, struct userNode *bot, unsigned int min_level, unsigned int quiet);
 void nickserv_show_oper_accounts(struct userNode *user, struct svccmd *cmd);
 
+struct handle_info *loc_auth(char *handle, char *password);
+
 /* auth_funcs are called when a user gets a new handle_info.  They are
  * called *after* user->handle_info has been updated.  */
 typedef void (*auth_func_t)(struct userNode *user, struct handle_info *old_handle);