From 79b1c44721776765173191dc7cba612169a8b601 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Sun, 10 Apr 2022 23:43:43 +0100 Subject: Add a method to ConfigTag to help with retrieving a single character. --- src/modules/m_ojoin.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/modules/m_ojoin.cpp') diff --git a/src/modules/m_ojoin.cpp b/src/modules/m_ojoin.cpp index d9d3c71b6..4074a5370 100644 --- a/src/modules/m_ojoin.cpp +++ b/src/modules/m_ojoin.cpp @@ -113,7 +113,7 @@ class ModuleOjoin : public Module public: ModuleOjoin() - : np(this, ServerInstance->Config->ConfValue("ojoin")->getString("prefix").c_str()[0]) + : np(this, ServerInstance->Config->ConfValue("ojoin")->getCharacter("prefix")) , mycommand(this, np) { } -- cgit v1.3.1-10-gc9f91