From 49bfc84ea6f7ae35bd73ee8e9beb8bc8cc2aec66 Mon Sep 17 00:00:00 2001 From: James Lee Date: Thu, 29 Aug 2013 23:39:29 -0500 Subject: [PATCH] Bah, missed changes after refactor Thanks, travis-ci! --- lib/msf/core/post.rb | 4 ++-- lib/msf/core/post_mixin.rb | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/msf/core/post.rb b/lib/msf/core/post.rb index a6f12b75cf..789b6380e4 100644 --- a/lib/msf/core/post.rb +++ b/lib/msf/core/post.rb @@ -21,11 +21,11 @@ class Msf::Post < Msf::Module def setup; end def type - MODULE_POST + Msf::MODULE_POST end def self.type - MODULE_POST + Msf::MODULE_POST end # diff --git a/lib/msf/core/post_mixin.rb b/lib/msf/core/post_mixin.rb index 762fa86c00..55caffa4c4 100644 --- a/lib/msf/core/post_mixin.rb +++ b/lib/msf/core/post_mixin.rb @@ -16,7 +16,7 @@ module Msf::PostMixin super register_options( [ - OptInt.new('SESSION', [ true, "The session to run this module on." ]) + Msf::OptInt.new('SESSION', [ true, "The session to run this module on." ]) ] , Msf::Post) # Default stance is active