summaryrefslogtreecommitdiff
path: root/modules/core/os_ignore.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-07-26 23:18:54 -0400
committerAdam <Adam@anope.org>2011-07-26 23:18:54 -0400
commit088337ea076b763e82b3f46c6ec0a91b53d3f170 (patch)
tree3d8fa04fb937a2e7d3599bb05f9f5f24cbed3897 /modules/core/os_ignore.cpp
parente8c00b9e8b1b88a6307d8d093258e3e8d37ce1c0 (diff)
Fixed /os ignore, /os exception del, and a crash in /cs entrymsg
Diffstat (limited to 'modules/core/os_ignore.cpp')
-rw-r--r--modules/core/os_ignore.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/modules/core/os_ignore.cpp b/modules/core/os_ignore.cpp
index 88fda076f..8c3f90818 100644
--- a/modules/core/os_ignore.cpp
+++ b/modules/core/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("operserv/ignore");
+ service_reference<IgnoreService> ignore_service("ignore");
if (!ignore_service)
return;
@@ -181,7 +181,7 @@ class CommandOSIgnore : public Command
void DoList(CommandSource &source)
{
- service_reference<IgnoreService> ignore_service("operserv/ignore");
+ service_reference<IgnoreService> 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("operserv/ignore");
+ service_reference<IgnoreService> ignore_service("ignore");
if (!ignore_service)
return;
@@ -222,7 +222,7 @@ class CommandOSIgnore : public Command
void DoClear(CommandSource &source)
{
- service_reference<IgnoreService> ignore_service("operserv/ignore");
+ service_reference<IgnoreService> ignore_service("ignore");
if (!ignore_service)
return;
@@ -287,7 +287,7 @@ class OSIgnore : public Module
public:
OSIgnore(const Anope::string &modname, const Anope::string &creator) : Module(modname, creator, CORE),
- osignoreservice(this, "operserv/ignore"), commandosignore(this)
+ osignoreservice(this, "ignore"), commandosignore(this)
{
this->SetAuthor("Anope");
@@ -303,7 +303,7 @@ class OSIgnore : public Module
{
if (params.size() >= 4 && params[0].equals_ci("OS") && params[1].equals_ci("IGNORE"))
{
- service_reference<IgnoreService> ignore_service("operserv/ignore");
+ service_reference<IgnoreService> ignore_service("ignore");
if (ignore_service)
{
const Anope::string &mask = params[2];