summaryrefslogtreecommitdiffstats
path: root/config-default
diff options
context:
space:
mode:
authorLibravatarWilliam Heimbigner <william.heimbigner@gmail.com>2012-05-09 16:05:12 +0000
committerLibravatarWilliam Heimbigner <william.heimbigner@gmail.com>2012-05-09 16:05:12 +0000
commit62aeddf74f00e7b5418779e8fc1e92cf74b76a6b (patch)
tree6be805f6e12726043d8203c4c09187d58bb92ccb /config-default
parentc2b6a54e4e5d1606834c9c70d4151c891f9331bd (diff)
Fixed a bug with trailing spaces in showhilights, and avoid putting deprecated stuff in channel xml config
Diffstat (limited to 'config-default')
-rw-r--r--config-default/commands.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/config-default/commands.xml b/config-default/commands.xml
index 78d35c6..56db997 100644
--- a/config-default/commands.xml
+++ b/config-default/commands.xml
@@ -143,7 +143,7 @@
$conn->privmsg($event->{to}->[0], "$nick removed from targets for $chan");
]]>
</command>
- <command cmd="^;showhilights (\S+)$" flag="h">
+ <command cmd="^;showhilights (\S+) *$" flag="h">
<![CDATA[
my $nick = lc $1;
my @channels = ();
@@ -213,7 +213,7 @@
<![CDATA[
my $chan = $1;
unless (defined($::channels->{channel}->{$chan})) {
- $::channels->{channel}->{$chan} = { 'op' => 'no' };
+ $::channels->{channel}->{$chan} = { };
ASM::XML->writeChannels();
}
$conn->join($chan);