diff options
| author | 2022-04-10 23:43:43 +0100 | |
|---|---|---|
| committer | 2022-04-10 23:43:43 +0100 | |
| commit | 79b1c44721776765173191dc7cba612169a8b601 (patch) | |
| tree | 577dce049a869900582210b3ed41cbc2e4cc949c /src/modules/m_ojoin.cpp | |
| parent | Fix <security announceinvites="dynamic"> when halfop is not loaded. (diff) | |
Add a method to ConfigTag to help with retrieving a single character.
Diffstat (limited to 'src/modules/m_ojoin.cpp')
| -rw-r--r-- | src/modules/m_ojoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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) { } |
