diff options
| author | 2007-06-09 12:32:34 +0000 | |
|---|---|---|
| committer | 2007-06-09 12:32:34 +0000 | |
| commit | 52acbb466b84a1cd161b1c111f855d6f0419fff3 (patch) | |
| tree | 75c047fe70b522a23699f9b2d74c868822850f3f /src/modules/m_httpd_stats.cpp | |
| parent | Change some = "" to clear() and some == "" to .empty() (diff) | |
A ton more clear() and empty() stuff thats been lingering on the long term todo for too long a term :p
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7264 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_httpd_stats.cpp')
| -rw-r--r-- | src/modules/m_httpd_stats.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_httpd_stats.cpp b/src/modules/m_httpd_stats.cpp index 3bd27a2aa..57b0a6e27 100644 --- a/src/modules/m_httpd_stats.cpp +++ b/src/modules/m_httpd_stats.cpp @@ -113,7 +113,7 @@ class ModuleHttpStats : public Module data << "<table>"; for (int i = 0; i <= ServerInstance->GetModuleCount(); i++) { - if (ServerInstance->Config->module_names[i] != "") + if (!ServerInstance->Config->module_names[i].empty()) data << "<tr><td>" << ServerInstance->Config->module_names[i] << "</td></tr>"; } data << "</table>"; |
