diff options
| author | 2008-12-24 05:38:30 +0000 | |
|---|---|---|
| committer | 2008-12-24 05:38:30 +0000 | |
| commit | d839b777682012133a7320f6cfcff9588c1be22d (patch) | |
| tree | 7bbeeb9106ab4b1a430273f97159564fbfb42cd6 | |
| parent | 17144559e710c7b833ec796deda3dbc4ff4e3abe (diff) | |
Removed the d flag for almost everyone, changed all commands that require the 'd' flag to require 'a' instead, except for ;ev and ;sl, and modified ;user flags to not allow the d flag to be assigned
| -rw-r--r-- | config-default/channels.xml | 11 | ||||
| -rw-r--r-- | config-default/commands.xml | 10 | ||||
| -rw-r--r-- | config-default/users.xml | 27 |
3 files changed, 27 insertions, 21 deletions
diff --git a/config-default/channels.xml b/config-default/channels.xml index c4257ce..66a9040 100644 --- a/config-default/channels.xml +++ b/config-default/channels.xml @@ -1,10 +1,10 @@ <channels> + <channel id="##Thehelpfulone" op="no" /> <channel id="##asb-meta" link="##asb-testing"> <hilights></hilights> </channel> <channel id="##asb-nexus" op="when"> - <hilights> - </hilights> + <hilights></hilights> <msgs></msgs> </channel> <channel id="##asb-test" op="no"> @@ -71,7 +71,9 @@ </msgs> </channel> <channel id="##thehelpfulone" op="no"> - <hilights></hilights> + <hilights> + <debug>thehelpfulone</debug> + </hilights> <msgs> <debug>##thehelpfulone</debug> <disable>##asb-nexus</disable> @@ -81,6 +83,7 @@ <hilights></hilights> </channel> <channel id="##wikimedia-ops" op="no"> + <hilights></hilights> <msgs></msgs> </channel> <channel id="##windows" op="no"> @@ -161,6 +164,7 @@ <channel id="#mediawiki" op="no" silence="yes"> <hilights> <debug>flyingparchment</debug> + <debug>WaRpAtH</debug> <disable>seanw</disable> <disable>ST47</disable> </hilights> @@ -206,7 +210,6 @@ </hilights> <msgs> <debug>#wikimedia-ops</debug> - <low>#wikimedia-ops</low> </msgs> </channel> <channel id="#wikimedia-tech" op="no" silence="yes"> diff --git a/config-default/commands.xml b/config-default/commands.xml index 2e8df3d..efe65e1 100644 --- a/config-default/commands.xml +++ b/config-default/commands.xml @@ -31,7 +31,7 @@ $conn->privmsg($event->{to}->[0], "$result results found."); ]]> </command> - <command cmd="^;user add (\S+) ?(\S*)$" flag="d"> + <command cmd="^;user add (\S+) ?(\S*)$" flag="a"> <![CDATA[ my $nick = lc $1; my $host = $2; @@ -41,10 +41,14 @@ $conn->privmsg($event->{to}->[0], "Hiya $nick"); ]]> </command> - <command cmd="^;user flags (\S+) ?(?: (\S+))?$" flag="d"> + <command cmd="^;user flags (\S+) ?(?: (\S+))?$" flag="a"> <![CDATA[ my $nick = lc $1; my $flags = $2; + if ($flags =~ /d/) { + $conn->privmsg($event->{to}->[0], "The d flag may not be assigned over IRC. Edit the configuration manually."); + return; + } if ((!defined($flags)) || ($flags eq '')) { if (defined($::users->{person}->{$nick}->{flags})) { $conn->privmsg($event->{to}->[0], "Flags for $nick: $::users->{person}->{$nick}->{flags}"); @@ -59,7 +63,7 @@ } ]]> </command> - <command cmd="^;user del (\S+)$" flag="d"> + <command cmd="^;user del (\S+)$" flag="a"> <