Getting rid of tabs.

This commit is contained in:
Elijah Perrault committed 2011-02-20 20:46:10 -07:00
1 parent ad799a32a2
commit cc1c8fd5bc
20 files changed
+1279 -1277

No files matched your search

+8 -8
View File
@@ -12,12 +12,12 @@ use API::IRC qw(privmsg notice kick ban);
sub _init
{
# Check for required configuration values.
if (!conf_get('badwords')) {
err(2, 'Please verify that you have a badwords block with word entries defined in your configuration file.', 0);
return;
}
ssssif (!conf_get('badwords')) {
ssss err(2, 'Please verify that you have a badwords block with word entries defined in your configuration file.', 0);
ssss return;
ssss}
# Create the act_on_badword hook.
hook_add('on_cprivmsg', 'act_on_badword', \&M::Badwords::actonbadword) or return;
sssshook_add('on_cprivmsg', 'act_on_badword', \&M::Badwords::actonbadword) or return;
# Success.
return 1;
@@ -27,16 +27,16 @@ sub _init
sub _void
{
# Delete the act_on_badword hook.
hook_del('act_on_badword') or return 0;
sssshook_del('act_on_badword') or return 0;
# Success.
return 1;
ssssreturn 1;
}
# Callback for act_on_badword hook.
sub actonbadword
{
my (($src, $chan, @msg)) = @_;
ssssmy (($src, $chan, @msg)) = @_;
my $msg = join ' ', @msg;