summaryrefslogtreecommitdiffstats
path: root/config-default
diff options
context:
space:
mode:
authorLibravatarDoug Freed <dwfreed@mtu.edu>2015-08-05 10:39:02 +0400
committerLibravatarDoug Freed <dwfreed@mtu.edu>2015-08-05 10:39:02 +0400
commitce857ad5f744f74b15ca36264609282c5642778e (patch)
tree6157e5303a09bf8509f4f1ed0ace70e963a73e14 /config-default
parent1b3b067580d5583ab0233c68904c06f16366abfc (diff)
Fix various things
* Fix a typo * Adjust the ;restrict regex to allow using event IDs for restrictions * Add a falsematch command to make DLange shut up * Don't allow nohush commands be used by those with nocommands restriction * Stop making ASM -i
Diffstat (limited to 'config-default')
-rw-r--r--config-default/commands.xml9
1 files changed, 7 insertions, 2 deletions
diff --git a/config-default/commands.xml b/config-default/commands.xml
index 6066104..5674fac 100644
--- a/config-default/commands.xml
+++ b/config-default/commands.xml
@@ -356,7 +356,7 @@
delete($::users->{person}->{$nick});
ASM::XML->writeUsers();
$conn->privmsg($event->replyto, "Removed $nick from authorized users." .
- "MAKE SURE YOU PROVIDED a nickserv account to this command, rather than the nick the accountholder");
+ " MAKE SURE YOU PROVIDED a nickserv account to this command, rather than the nick the accountholder");
]]>
</command>
<command cmd="^;target (\S+) (\S+) ?(\S*)$" flag="a">
@@ -522,7 +522,7 @@
$conn->privmsg($event->replyto, 'config files were re-read');
]]>
</command>
- <command cmd="^;restrict (nick|account|host) (\S+) (\+|-)([a-z]+)$" flag="a">
+ <command cmd="^;restrict (nick|account|host) (\S+) (\+|-)([a-z0-9_-]+)$" flag="a">
<![CDATA[
my ($type, $who, $mode, $restriction) = ($1, lc $2, $3, $4);
if ($mode eq '-') {
@@ -691,4 +691,9 @@
}
]]>
</command>
+ <command cmd="^;falsematch\b" flag="s">
+ <![CDATA[
+ $conn->privmsg($event->replyto, 'To whitelist false matches for the impersonation check, have someone with the a flag run ";restrict nick LegitimateNickGoesHere +nonickbl_impersonate". Contact ilbelkyr if this issue reoccurs.');
+ ]]>
+ </command>
</commands>