diff options
| author | 2020-04-09 15:18:04 +0100 | |
|---|---|---|
| committer | 2020-04-09 15:18:04 +0100 | |
| commit | bb39d78be61e45555cdd87985e26ea07b725fabf (patch) | |
| tree | 157dc8144dca9d65eec162773fe3f845e6a5582f /src/modules/m_customtitle.cpp | |
| parent | Allow <passforward:forwardmsg> to be optional. (diff) | |
Set the minimum length to 1 for most config items with a default.
Diffstat (limited to 'src/modules/m_customtitle.cpp')
| -rw-r--r-- | src/modules/m_customtitle.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_customtitle.cpp b/src/modules/m_customtitle.cpp index 7cdd0bc4f..3bf7e7925 100644 --- a/src/modules/m_customtitle.cpp +++ b/src/modules/m_customtitle.cpp @@ -143,7 +143,7 @@ class ModuleCustomTitle : public Module, public Whois::LineEventListener name.c_str(), tag->getTagLocation().c_str()); } - std::string host = tag->getString("host", "*@*"); + std::string host = tag->getString("host", "*@*", 1); std::string title = tag->getString("title"); std::string vhost = tag->getString("vhost"); CustomTitle config(name, pass, hash, host, title, vhost); |
