From 0161215f42ccbfe45d1aef626f830d39486ef699 Mon Sep 17 00:00:00 2001 From: brain Date: Sat, 9 Jun 2007 12:10:12 +0000 Subject: Change some = "" to clear() and some == "" to .empty() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7263 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/helperfuncs.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/helperfuncs.cpp') diff --git a/src/helperfuncs.cpp b/src/helperfuncs.cpp index 5aeabfd8b..f5d9aa5d9 100644 --- a/src/helperfuncs.cpp +++ b/src/helperfuncs.cpp @@ -81,7 +81,7 @@ std::string InspIRCd::GetServerDescription(const char* servername) FOREACH_MOD_I(this,I_OnGetServerDescription,OnGetServerDescription(servername,description)); - if (description != "") + if (!description.empty()) { return description; } @@ -435,7 +435,7 @@ void InspIRCd::OpenLog(char** argv, int argc) if (!*this->LogFileName) { - if (Config->logpath == "") + if (Config->logpath.empty()) { Config->logpath = Config->MyDir + "/ircd.log"; } -- cgit v1.3.1-10-gc9f91