summaryrefslogtreecommitdiff
path: root/src/modules/cs_set_misc.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2010-07-11 00:43:36 -0400
committerAdam <Adam@anope.org>2010-07-11 00:43:36 -0400
commit43b1e43afb85639485e36d24da351dc0f121be6e (patch)
tree9220f321cab1f9eaef50ea1b783455b3a80b3ab3 /src/modules/cs_set_misc.cpp
parent63d71424650ac697f2e698c1c8fd242729691a0f (diff)
Added ns_set_misc.cpp which was missing from a previous commit
Diffstat (limited to 'src/modules/cs_set_misc.cpp')
-rw-r--r--src/modules/cs_set_misc.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/cs_set_misc.cpp b/src/modules/cs_set_misc.cpp
index 5f690a0ac..453e242a3 100644
--- a/src/modules/cs_set_misc.cpp
+++ b/src/modules/cs_set_misc.cpp
@@ -1,4 +1,4 @@
-/* ChanServ core functions
+/*
*
* (C) 2003-2010 Anope Team
* Contact us at team@anope.org
@@ -123,7 +123,7 @@ class CSSetMisc : public Module
Command *set = FindCommand(ChanServ, "SET");
Command *saset = FindCommand(ChanServ, "SASET");
- if (!set && saset)
+ if (!set && !saset)
return;
ConfigReader config;
@@ -174,7 +174,7 @@ class CSSetMisc : public Module
if (ci->GetExtRegular("chanserv:" + it->first, value))
{
- WriteMetadata(it->first, value.c_str());
+ WriteMetadata(it->first, ":" + std::string(value.c_str()));
}
}
}