From e80ea4c3328f5d2919d9f4bc09247004de07ec4a Mon Sep 17 00:00:00 2001 From: doy Date: Mon, 27 Apr 2009 01:38:40 -0500 Subject: games should unimport Bot::Games::OO::Game, not Bot::Games::OO --- lib/Bot/Games/Game.pm | 2 +- lib/Bot/Games/Game/24.pm | 2 +- lib/Bot/Games/Game/Ghost.pm | 2 +- lib/Bot/Games/Game/Spook.pm | 2 +- lib/Bot/Games/Game/Superghost.pm | 2 +- lib/Bot/Games/Game/Xghost.pm | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/Bot/Games/Game.pm b/lib/Bot/Games/Game.pm index 1b4310b..24f4caa 100644 --- a/lib/Bot/Games/Game.pm +++ b/lib/Bot/Games/Game.pm @@ -89,6 +89,6 @@ sub _diff_from_now { ago(time - shift->epoch, 3) } # this happens in Bot::Games, since we want to add the say method from there #__PACKAGE__->meta->make_immutable; -no Bot::Games::OO; +no Bot::Games::OO::Game; 1; diff --git a/lib/Bot/Games/Game/24.pm b/lib/Bot/Games/Game/24.pm index 029bf81..bfa2e2e 100644 --- a/lib/Bot/Games/Game/24.pm +++ b/lib/Bot/Games/Game/24.pm @@ -98,6 +98,6 @@ sub evaluate { } __PACKAGE__->meta->make_immutable; -no Bot::Games::OO; +no Bot::Games::OO::Game; 1; diff --git a/lib/Bot/Games/Game/Ghost.pm b/lib/Bot/Games/Game/Ghost.pm index 703c336..64e742e 100644 --- a/lib/Bot/Games/Game/Ghost.pm +++ b/lib/Bot/Games/Game/Ghost.pm @@ -155,6 +155,6 @@ sub maybe_add_player { } __PACKAGE__->meta->make_immutable; -no Bot::Games::OO; +no Bot::Games::OO::Game; 1; diff --git a/lib/Bot/Games/Game/Spook.pm b/lib/Bot/Games/Game/Spook.pm index 58faa56..415c5b4 100644 --- a/lib/Bot/Games/Game/Spook.pm +++ b/lib/Bot/Games/Game/Spook.pm @@ -23,6 +23,6 @@ command valid_word_from_state => sub { }; __PACKAGE__->meta->make_immutable; -no Bot::Games::OO; +no Bot::Games::OO::Game; 1; diff --git a/lib/Bot/Games/Game/Superghost.pm b/lib/Bot/Games/Game/Superghost.pm index d346571..7164ca2 100644 --- a/lib/Bot/Games/Game/Superghost.pm +++ b/lib/Bot/Games/Game/Superghost.pm @@ -21,6 +21,6 @@ command valid_word_from_state => sub { }; __PACKAGE__->meta->make_immutable; -no Bot::Games::OO; +no Bot::Games::OO::Game; 1; diff --git a/lib/Bot/Games/Game/Xghost.pm b/lib/Bot/Games/Game/Xghost.pm index 956b048..5adf534 100644 --- a/lib/Bot/Games/Game/Xghost.pm +++ b/lib/Bot/Games/Game/Xghost.pm @@ -21,6 +21,6 @@ command valid_word_from_state => sub { }; __PACKAGE__->meta->make_immutable; -no Bot::Games::OO; +no Bot::Games::OO::Game; 1; -- cgit v1.2.3-54-g00ecf