* connregex is a POSIX regular expression used to parse connection * (+c) notices from the ircd. The complexity of the expression should * be kept to a minimum. * * Items in order MUST be: nick user host IP * * BOPM will not work with ircds which do not send an IP in the * connection notice. * * This is fairly complicated stuff, and the consequences of getting * it wrong are the BOPM does not scan anyone. Unless you know * absolutely what you are doing, please just uncomment the example * below that best matches the type of ircd you use. * * !!! NOTE !!! If a connregex for your ircd does not appear here and the * hybrid connregex does not appear to work, check the BOPM FAQ at * http://blitzed.org/bopm/faq.phtml before contacting our lists for help. * */ /* Hybrid / Bahamut / Unreal (in HCN mode) */ connregex = "\\*\\*\\* Notice -- Client connecting.*: ([^ ]+) \\(([^@]+)@([^\\)]+)\\) \\[([0-9\\.]+)\\].*"; /* * Ultimate ircd - note the control-B characters around Connect/Exit, * that is because that text appears in bold in the actual connect * notice. Be very careful when editing this, do it as you would put * bold characters into IRC MOTDs. */ # connregex = "\\*\\*\\* Connect/Exit -- from [^:]+: Client connecting on port [0-9]+: ([^ ]+) \\(([^@]+)@([^\\)]+)\\) \\[([0-9\\.]+)\\].*"; /* * SorIRCd 1.3.4+ / StarIRCd 5.26+. */ # connregex = "\\*\\*\\* Notice -- Client connecting on port [0-9]+: ([^ ]+) \\(([^@]+)@([^\\)]+)\\) \\[([0-9\\.]+)\\].*";