diff options
author | Timo Sirainen <cras@irssi.org> | 2001-07-16 20:22:45 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2001-07-16 20:22:45 +0000 |
commit | 69a6096b8b4e0b94e3ba327801a120be2d446636 (patch) | |
tree | dd31da39c6a23514d8ade048fdef3426bfa4096f /scripts/hello.pl | |
parent | 0d3b5c729f16a0c8c2d7ccbc04854de2e8b5b45a (diff) | |
download | irssi-69a6096b8b4e0b94e3ba327801a120be2d446636.zip |
added "use strict" for all scripts, made some small changes.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1639 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'scripts/hello.pl')
-rw-r--r-- | scripts/hello.pl | 2 |
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'); |