Removing return 0's as it's improper.

This commit is contained in:
Elijah Perrault committed 2011-03-18 14:05:10 -06:00
1 parent 374b04fddc
commit 8a8166bdb8
9 files changed
+32 -32

No files matched your search

+2 -2
View File
@@ -11,7 +11,7 @@ use API::IRC qw(privmsg);
sub _init
{
# Add a hook for when we join a channel.
hook_add('on_ucjoin', 'HelloChan', \&M::HelloChan::hello) or return 0;
hook_add('on_ucjoin', 'HelloChan', \&M::HelloChan::hello) or return;
return 1;
}
@@ -19,7 +19,7 @@ sub _init
sub _void
{
# Delete the hook.
hook_del('on_ucjoin', 'HelloChan') or return 0;
hook_del('on_ucjoin', 'HelloChan') or return;
return 1;
}