From b40eb1639498f48a03f163977bebad63fbdd0395 Mon Sep 17 00:00:00 2001 From: Pragmatic Software Date: Mon, 30 Dec 2019 19:34:13 -0800 Subject: [PATCH] Remove "modules" and "admins" from `export` command --- PBot/BotAdminCommands.pm | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/PBot/BotAdminCommands.pm b/PBot/BotAdminCommands.pm index c58370fe..b8de6a0c 100644 --- a/PBot/BotAdminCommands.pm +++ b/PBot/BotAdminCommands.pm @@ -293,20 +293,12 @@ sub export { my ($from, $nick, $user, $host, $arguments) = @_; if (not defined $arguments) { - return "/msg $nick Usage: export "; - } - - if ($arguments =~ /^modules$/i) { - return "/msg $nick Coming soon."; + return "/msg $nick Usage: export "; } if ($arguments =~ /^factoids$/i) { return $self->{pbot}->{factoids}->export_factoids; } - - if ($arguments =~ /^admins$/i) { - return "/msg $nick Coming soon."; - } } sub evalcmd {