/** Host mask for this line
*/
char host[MAXBUF];
+ /** Number of seconds between pings for this line
+ */
+ int pingtime;
/** (Optional) Password for this line
*/
char pass[MAXBUF];
{
registration_timeout = 0;
flood = 0;
+ pingtime = 0;
strlcpy(host,"",MAXBUF);
strlcpy(pass,"",MAXBUF);
}
*/
char oper[NICKMAX];
+ /** True when DNS lookups are completed.
+ */
+ bool dns_done;
+
+ /** Number of seconds between PINGs for this user (set from <connect:allow> tag
+ */
+ unsigned long pingmax;
+
+ /** Password specified by the user when they registered.
+ * This is stored even if the <connect> block doesnt need a password, so that
+ * modules may check it.
+ */
+ char password[MAXBUF];
+
userrec();
virtual ~userrec() { }