summaryrefslogtreecommitdiff
path: root/scripts/hello.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/hello.pl')
-rw-r--r--scripts/hello.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/hello.pl b/scripts/hello.pl
index b5b92aa8..82adfe22 100644
--- a/scripts/hello.pl
+++ b/scripts/hello.pl
@@ -1,12 +1,12 @@
# "Hello, world!" script :) /hello <nick> sends "Hello, world!" to <nick>
use Irssi;
+use strict;
sub cmd_hello {
my ($data, $server, $channel) = @_;
$server->command("/msg $data Hello, world!");
- return 1;
}
Irssi::command_bind('hello', 'cmd_hello');