From: timriker Date: Tue, 23 Nov 2004 23:08:15 +0000 (+0000) Subject: sort FLAGS X-Git-Url: https://git.donarmstrong.com/?a=commitdiff_plain;h=1ffd9a55136088e31507126bedc36548de7caa38;p=infobot.git sort FLAGS git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1086 c11ca15a-4712-0410-83d8-924469b57eb5 --- diff --git a/files/sample/blootbot.users b/files/sample/blootbot.users index 6dd9631..299df18 100644 --- a/files/sample/blootbot.users +++ b/files/sample/blootbot.users @@ -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 diff --git a/src/DynaConfig.pl b/src/DynaConfig.pl index 0e53f11..ebe28af 100644 --- a/src/DynaConfig.pl +++ b/src/DynaConfig.pl @@ -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"; }