Added deoper subroutine to deoper Auto on a server

This commit is contained in:
Matthew Barksdale committed 2011-04-14 03:27:58 -04:00
1 parent 51f30e6346
commit a122977644
1 file changed
+9
+9
View File
@@ -70,6 +70,15 @@ sub oper {
return 1;
}
# Deopers Auto on the specified server.
sub deoper {
my ($svr) = @_;
Auto::socksnd($svr, "MODE $State::IRC::botinfo{$svr}{nick} -o");
return 1;
}
# End of the API
# Start initialization.
API::Std::mod_init('Oper', 'Xelhua', '1.01', '3.0.0a10');
# build: perl=5.010000