summaryrefslogtreecommitdiff
path: root/modules/commands/os_ignore.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_ignore.cpp
parentfeaef7cc4aa97a0851ad404fc76652560bb14a70 (diff)
Fixed service_reference to work correctly with external classes
Diffstat (limited to 'modules/commands/os_ignore.cpp')
-rw-r--r--modules/commands/os_ignore.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/modules/commands/os_ignore.cpp b/modules/commands/os_ignore.cpp
index 46286786f..5f2cbb195 100644
--- a/modules/commands/os_ignore.cpp
+++ b/modules/commands/os_ignore.cpp
@@ -146,7 +146,7 @@ class CommandOSIgnore : public Command
private:
void DoAdd(CommandSource &source, const std::vector<Anope::string> &params)
{
- service_reference<IgnoreService> ignore_service("ignore");
+ service_reference<IgnoreService, Base> ignore_service("ignore");
if (!ignore_service)
return;
@@ -181,7 +181,7 @@ class CommandOSIgnore : public Command
void DoList(CommandSource &source)
{
- service_reference<IgnoreService> ignore_service("ignore");
+ service_reference<IgnoreService, Base> ignore_service("ignore");
if (!ignore_service)
return;
@@ -205,7 +205,7 @@ class CommandOSIgnore : public Command
void DoDel(CommandSource &source, const std::vector<Anope::string> &params)
{
- service_reference<IgnoreService> ignore_service("ignore");
+ service_reference<IgnoreService, Base> ignore_service("ignore");
if (!ignore_service)
return;
@@ -222,7 +222,7 @@ class CommandOSIgnore : public Command
void DoClear(CommandSource &source)
{
- service_reference<IgnoreService> ignore_service("ignore");
+ service_reference<IgnoreService, Base> ignore_service("ignore");
if (!ignore_service)
return;
@@ -301,7 +301,7 @@ class OSIgnore : public Module
{
if (params.size() >= 4 && params[0].equals_ci("OS") && params[1].equals_ci("IGNORE"))
{
- service_reference<IgnoreService> ignore_service("ignore");
+ service_reference<IgnoreService, Base> ignore_service("ignore");
if (ignore_service)
{
const Anope::string &mask = params[2];