From ce857ad5f744f74b15ca36264609282c5642778e Mon Sep 17 00:00:00 2001 From: Doug Freed Date: Wed, 5 Aug 2015 10:39:02 +0400 Subject: 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 --- modules/event.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/event.pl') diff --git a/modules/event.pl b/modules/event.pl index b2490b0..873fb89 100644 --- a/modules/event.pl +++ b/modules/event.pl @@ -227,7 +227,7 @@ sub on_account sub on_connect { my ($conn, $event) = @_; # need to check for no services - $conn->sl("MODE $event->{args}->[0] +Q-i"); + $conn->sl("MODE $event->{args}->[0] +Q"); if (lc $event->{args}->[0] ne lc $::settings->{nick}) { ASM::Util->dprint('Attempting to regain my main nick', 'startup'); $conn->privmsg( 'NickServ@services.', "regain $::settings->{nick} $::settings->{pass}" ); -- cgit v1.2.3