diff options
Diffstat (limited to 'src/modules/m_conn_umodes.cpp')
-rw-r--r-- | src/modules/m_conn_umodes.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_conn_umodes.cpp b/src/modules/m_conn_umodes.cpp index d880853ad..f1cc8bc6b 100644 --- a/src/modules/m_conn_umodes.cpp +++ b/src/modules/m_conn_umodes.cpp @@ -65,7 +65,7 @@ class ModuleModesOnConnect : public Module if ((match(user->GetIPString(),hostn.c_str(),true)) || (match(user->host,hostn.c_str()))) { std::string ThisModes = Conf->ReadValue("connect","modes",j); - if (ThisModes != "") + if (!ThisModes.empty()) { std::string buf; stringstream ss(ThisModes); |