aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2015-06-13 22:06:06 -0400
committerTeddy Wing2015-06-13 22:06:06 -0400
commitcb08043eef542493b460aee0e7fd79acab8139e3 (patch)
tree9596391fda86cb7e64e092e0cdd3e8e9ceba9fe8
parent696ddfbafe1b4da1ddd30cfa778460e0a8985905 (diff)
downloadirssi-hipchat-stfu-cb08043eef542493b460aee0e7fd79acab8139e3.tar.bz2
Rename main sub to `hipchat_stfu`
`test` was just a temporary name to see if I could get the signal working and to see what kind of information irssi would give me. Let's use a more final name now that we know it works.
-rw-r--r--hipchat-stfu.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/hipchat-stfu.pl b/hipchat-stfu.pl
index 1f89357..1145891 100644
--- a/hipchat-stfu.pl
+++ b/hipchat-stfu.pl
@@ -13,7 +13,7 @@ $VERSION = '1.00';
license => 'MIT',
);
-sub test {
+sub hipchat_stfu {
my ($server, $text, $nick) = @_;
my $filename = 'hipchat-stfu-output.txt';
@@ -28,5 +28,5 @@ sub test {
};
signal_add {
- 'message public' => \&test,
+ 'message public' => \&hipchat_stfu,
};