Hallo
Somone here can help about floodworld i have install it but when i tr to identify me to the floodwolrd i get this
[02:10] *** (s) *** Global -- from FloodWorld: JailMann failed identify (Non-Oper)
but if i do a whois i am a netadmin somone her nows how to kill that server or who do i do t n linux shell
Floodworld
Moderator: Supporters
-
- Posts: 65
- Joined: Wed Apr 21, 2004 12:26 am
- Location: irc://irc.winbots.org/Winbots
- Contact:
You will need to know perl
You have to edit the source code....under the part where you identify... you will have to remove the oper check... and put a line that adds your nick to the oper list... lemme see if i can find it...
Just find the do_identify sub and replce it with that...
Code: Select all
sub do_identify {
$LastSub = "do_identify";
@params = split(/\s+/, shift);
if (@params < 2) {
¬ice($params[0],"Syntax: IDENTIFY Password");
return;
}
if (defined($ops{lc($params[0])})) {
# if ($nicks{lc($params[0])}->{Oper} == 1) {
if ($ops{lc($params[0])}->{Pass} eq "none") {
¬ice($params[0],"You do not have a password set");
return;
}
if (lc($config{'EncryptPass'}) eq "yes") {
$I_TempPass = &encrypt($params[1]);
} else {
$I_TempPass = $params[1];
}
if ($ops{lc($params[0])}->{Pass} eq $I_TempPass) {
$ops{lc($params[0])}->{Identified} = 1;
$nicks{lc($params[0])}->{Oper} = 1;
¬ice($params[0],"You are now identified");
&logit("$params[0] successfully identified");
print $sock ":$MyClientName PRIVMSG $DebugChannel :$params[0] successfully identified.\n" if ($UseDebug);
} else {
¬ice($params[0],"Access denied (Password Mismatch)");
&globops("$params[0] failed IDENTIFY (Password Mismatch)");
&logit("$params[0] failed to IDENTIFY -- Password Mismatch");
}
# } else {
# &globops("$params[0] failed IDENTIFY (Non-Oper)");
# }
} else {
¬ice($params[0],"Access denied");
&globops("$params[0] failed IDENTIFY (No access)");
&logit("$params[0] failed IDENTIFY -- No access");
}
undef(@params);
return;
}