diff --git a/modules/Bitly.pm b/modules/Bitly.pm index 4fc46c6..86953c9 100644 --- a/modules/Bitly.pm +++ b/modules/Bitly.pm @@ -17,8 +17,8 @@ sub _init return 0; } # Create the SHORTEN and REVERSE commands. - cmd_add("SHORTEN", 0, \%m_Bitly::HELP_SHORTEN, \&m_Bitly::shorten) or return 0; - cmd_add("REVERSE", 0, \%m_Bitly::HELP_REVERSE, \&m_Bitly::reverse) or return 0; + cmd_add("SHORTEN", 0, 0, \%m_Bitly::HELP_SHORTEN, \&m_Bitly::shorten) or return 0; + cmd_add("REVERSE", 0, 0, \%m_Bitly::HELP_REVERSE, \&m_Bitly::reverse) or return 0; # Success. return 1; diff --git a/modules/Calc.pm b/modules/Calc.pm index e245e2d..957136f 100644 --- a/modules/Calc.pm +++ b/modules/Calc.pm @@ -14,7 +14,7 @@ use JSON -support_by_pp; sub _init { # Create the CALC command. - cmd_add("CALC", 0, \%m_Calc::HELP_CALC, \&m_Calc::calc) or return 0; + cmd_add("CALC", 0, 0, \%m_Calc::HELP_CALC, \&m_Calc::calc) or return 0; # Success. return 1; diff --git a/modules/EightBall.pm b/modules/EightBall.pm index 7680446..1ac32cc 100644 --- a/modules/EightBall.pm +++ b/modules/EightBall.pm @@ -13,8 +13,8 @@ our $ANSWER = 0; sub _init { # Create the 8BALL and RIGBALL commands. - cmd_add("8BALL", 0, \%m_EightBall::HELP_8BALL, \&m_EightBall::c_8ball) or return 0; - cmd_add("RIGBALL", 1, \%m_EightBall::HELP_RIGBALL, \&m_EightBall::rigball) or return 0; + cmd_add("8BALL", 0, 0, \%m_EightBall::HELP_8BALL, \&m_EightBall::c_8ball) or return 0; + cmd_add("RIGBALL", 1, 0, \%m_EightBall::HELP_RIGBALL, \&m_EightBall::rigball) or return 0; # Success. return 1; diff --git a/modules/IsItUp.pm b/modules/IsItUp.pm index 54f63a6..77e8a79 100644 --- a/modules/IsItUp.pm +++ b/modules/IsItUp.pm @@ -12,7 +12,7 @@ use LWP::UserAgent; sub _init { # Create the ISITUP command. - cmd_add("ISITUP", 0, \%m_IsItUp::HELP_ISITUP, \&m_IsItUp::check) or return 0; + cmd_add("ISITUP", 0, 0, \%m_IsItUp::HELP_ISITUP, \&m_IsItUp::check) or return 0; # Success. return 1; diff --git a/modules/Weather.pm b/modules/Weather.pm index 299f7e4..637866c 100644 --- a/modules/Weather.pm +++ b/modules/Weather.pm @@ -13,7 +13,7 @@ use XML::Simple; sub _init { # Create the Weather command. - cmd_add("WEATHER", 0, \%m_Weather::HELP_WEATHER, \&m_Weather::weather) or return 0; + cmd_add("WEATHER", 0, 0, \%m_Weather::HELP_WEATHER, \&m_Weather::weather) or return 0; # Success. return 1;