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/cmd_oper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cmd_oper.cpp') diff --git a/src/cmd_oper.cpp b/src/cmd_oper.cpp index fd0af1ba5..686182876 100644 --- a/src/cmd_oper.cpp +++ b/src/cmd_oper.cpp @@ -115,7 +115,7 @@ CmdResult cmd_oper::Handle (const char** parameters, int pcnt, userrec *user) if (!type_invalid) { - std::string fields = ""; + std::string fields; if (!match_login) fields.append("login "); if (!match_pass) -- cgit v1.2.3