]> git.netwichtig.de Git - user/henk/code/inspircd.git/commitdiff
Fix error message for splitwhois value.
authorMatt Schatz <genius3000@g3k.solutions>
Wed, 3 Jul 2019 10:05:28 +0000 (04:05 -0600)
committerPeter Powell <petpow@saberuk.com>
Wed, 3 Jul 2019 10:10:48 +0000 (11:10 +0100)
src/coremods/core_whois.cpp

index 0755f66f7ae075047c28fb040cec06f82abaf346..10a011ffe370a27e348fac9f036373f2b8afa268 100644 (file)
@@ -365,7 +365,7 @@ class CoreModWhois : public Module
                else if (stdalgo::string::equalsci(splitwhois, "splitmsg"))
                        newsplitstate = SPLITWHOIS_SPLITMSG;
                else
-                       throw ModuleException(splitwhois + " is an invalid <security:splitwhois> value, at " + tag->getTagLocation());
+                       throw ModuleException(splitwhois + " is an invalid <options:splitwhois> value, at " + tag->getTagLocation());
 
                ConfigTag* security = ServerInstance->Config->ConfValue("security");
                cmd.genericoper = security->getBool("genericoper");