summaryrefslogtreecommitdiffstats
path: root/modules/event.pl
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 /modules/event.pl
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 'modules/event.pl')
-rw-r--r--modules/event.pl2
1 files changed, 1 insertions, 1 deletions
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}" );