diff options
Diffstat (limited to 'src/modules/cs_set_misc.cpp')
-rw-r--r-- | src/modules/cs_set_misc.cpp | 6 |
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())); } } } |