summaryrefslogtreecommitdiff
path: root/modules/commands/os_forbid.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-09-02 15:28:16 -0400
committerAdam <Adam@anope.org>2011-09-10 02:05:03 -0400
commit17ea4ed8f5c4b08668223897c6de87dd3bdd598c (patch)
treea32cf0bde18678d9ad8895f3e032cf69c48d13f2 /modules/commands/os_forbid.cpp
parentfeaef7cc4aa97a0851ad404fc76652560bb14a70 (diff)
Fixed service_reference to work correctly with external classes
Diffstat (limited to 'modules/commands/os_forbid.cpp')
-rw-r--r--modules/commands/os_forbid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/os_forbid.cpp b/modules/commands/os_forbid.cpp
index f4ce7b0c8..ef591923c 100644
--- a/modules/commands/os_forbid.cpp
+++ b/modules/commands/os_forbid.cpp
@@ -75,7 +75,7 @@ class MyForbidService : public ForbidService
class CommandOSForbid : public Command
{
- service_reference<ForbidService> fs;
+ service_reference<ForbidService, Base> fs;
public:
CommandOSForbid(Module *creator) : Command(creator, "operserv/forbid", 1, 5), fs("forbid")
{