Revert "Getting rid of tabs."

This reverts commit cc1c8fd5bc.
Failed.
This commit is contained in:
Elijah Perrault committed 2011-02-20 20:47:09 -07:00
1 parent cc1c8fd5bc
commit 92c9a64793
20 files changed
+1277 -1279

No files matched your search

+21 -21
View File
@@ -43,22 +43,22 @@ hook_add("on_quit", "quit_update_chanusers", sub {
hook_add("on_connect", "on_connect_modes", sub {
my ($svr) = @_;
ssssif (conf_get("server:$svr:modes")) {
ssss my $connmodes = (conf_get("server:$svr:modes"))[0][0];
ssss API::IRC::umode($svr, $connmodes);
ssss}
if (conf_get("server:$svr:modes")) {
my $connmodes = (conf_get("server:$svr:modes"))[0][0];
API::IRC::umode($svr, $connmodes);
}
return 1;
});
# Plaintext auth.
hook_add("on_connect", "plaintext_auth", sub {
ssssmy ($svr) = @_;
my ($svr) = @_;
if (conf_get("server:$svr:idstr")) {
ssss my $idstr = (conf_get("server:$svr:idstr"))[0][0];
ssss Auto::socksnd($svr, $idstr);
ssss}
my $idstr = (conf_get("server:$svr:idstr"))[0][0];
Auto::socksnd($svr, $idstr);
}
return 1;
});
@@ -67,14 +67,14 @@ ssss}
hook_add("on_connect", "autojoin", sub {
my ($svr) = @_;
ssss# Get the auto-join from the config.
ssssmy @cajoin = @{ (conf_get("server:$svr:ajoin"))[0] };
ssss
ssss# Join the channels.
ssssif (!defined $cajoin[1]) {
ssss # For single-line ajoins.
ssss my @sajoin = split(',', $cajoin[0]);
ssss
# Get the auto-join from the config.
my @cajoin = @{ (conf_get("server:$svr:ajoin"))[0] };
# Join the channels.
if (!defined $cajoin[1]) {
# For single-line ajoins.
my @sajoin = split(',', $cajoin[0]);
foreach (@sajoin) {
# Check if a key was specified.
if ($_ =~ m/\s/xsm) {
@@ -84,13 +84,13 @@ ssss
}
else {
# Else join without one.
ssss API::IRC::cjoin($svr, $_);
API::IRC::cjoin($svr, $_);
}
}
ssss}
sssselse {
ssss # For multi-line ajoins.
ssss foreach (@cajoin) {
}
else {
# For multi-line ajoins.
foreach (@cajoin) {
# Check if a key was specified.
if ($_ =~ m/\s/xsm) {
# There was, join with it.