]> git.donarmstrong.com Git - infobot.git/commitdiff
sort FLAGS
authortimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 23 Nov 2004 23:08:15 +0000 (23:08 +0000)
committertimriker <timriker@c11ca15a-4712-0410-83d8-924469b57eb5>
Tue, 23 Nov 2004 23:08:15 +0000 (23:08 +0000)
git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1086 c11ca15a-4712-0410-83d8-924469b57eb5

files/sample/blootbot.users
src/DynaConfig.pl

index 6dd96313fefeec569cd429779ad71b16a6711b22..299df18984be6c28ecdeacd9ecf15e8c81958f63 100644 (file)
@@ -1,21 +1,21 @@
-#v1: blootbot -- blootbot -- written Tue Nov 23 22:55:57 2004
+#v1: blootbot -- blootbot -- written Tue Nov 23 23:05:41 2004
 
 _default
---FLAGS                mrta
+--FLAGS                amrt
 --HOSTS                *!*@*
 
 local
---FLAGS                mrsteonA
+--FLAGS                Aemnorst
 --HOSTS                local!local@local
 --PASS         xxfxfIfoJHdYg
 
 timriker
---FLAGS                mrsteonA
+--FLAGS                Aemnorst
 --HOSTS                *!~timr@TimRiker.active.supporter.pdpc
 --PASS         xxfxfIfoJHdYg
 
 xk
---FLAGS                mrsteon
+--FLAGS                emnorst
 --HOSTS                *!xk@example.com
 --HOSTS                *!xk@superbox.home.org
 --PASS         5K/rmJPzwxJhU
index 0e53f1187d41620cb31eabaf9253e3658062dbfa..ebe28afb3e0e6b5197f9a5c67f2fa0c798bbe53c 100644 (file)
@@ -160,6 +160,8 @@ sub writeUserFile {
                    print OUT "--$what\t\t$_\n";
                }
 
+           } elsif ($_ eq 'FLAGS') {
+               print OUT "--$_\t\t" . join('', sort split('', $val)) . "\n";
            } else {
                print OUT "--$_\t\t$val\n";
            }