]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_hostchange.cpp
Convert more modules
[user/henk/code/inspircd.git] / src / modules / m_hostchange.cpp
index 803ca8d92b3520c8c914962892a6cc0e1303b629..cf5c5f96dfdf7bc360b2a4247ac9a3f50c590549 100644 (file)
@@ -101,7 +101,7 @@ class ModuleHostChange : public Module
                        {
                                Host* h = (Host*)i->second;
                                // host of new user matches a hostchange tag's mask
-                               std::string newhost = "";
+                               std::string newhost;
                                if (h->action == "set")
                                {
                                        newhost = h->newhost;
@@ -113,7 +113,7 @@ class ModuleHostChange : public Module
                                else if (h->action == "addnick")
                                {
                                        // first take their nick and strip out non-dns, leaving just [A-Z0-9\-]
-                                       std::string complete = "";
+                                       std::string complete;
                                        std::string old = user->nick;
                                        for (unsigned int j = 0; j < old.length(); j++)
                                        {