]> jfr.im git - irc/quakenet/newserv.git/commitdiff
Userlevel 997-999 now get +a in the conversion script.
authorsplidge <redacted>
Thu, 13 Mar 2008 12:37:34 +0000 (12:37 +0000)
committersplidge <redacted>
Thu, 13 Mar 2008 12:37:34 +0000 (12:37 +0000)
chanserv/utils/conv4.pl

index 10f6c4cf7ac0656fe3aede6d35837fe6b57a2bcc..d2e27945fe04df28a2c0e7eed0a7c12cc112efa2 100644 (file)
@@ -315,12 +315,17 @@ sub loadusers {
       if ($_ eq "end") {
 #      print "Got user $username [$userid]\n";
        $uflags=4;
+       # 10-900 get +h, 900+ get +o
        if ($globalauth >= 900) {
          $uflags |= 0x20;
        } 
        if ($globalauth > 10 and $globalauth < 900) {
          $uflags |= 0x100;
        }
+       # 997-999 get +a, 1000 gets +d
+       if ($globalauth >= 997 and $globalauth < 1000) {
+         $uflags |= 0x200;
+        }
        if ($globalauth >= 1000) {
          $uflags |= 0x40;
        }