]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/inspircd.cpp
Switch the WEBIRC command to use SplitCommand.
[user/henk/code/inspircd.git] / src / inspircd.cpp
index a3be309bfb75cd63ff3fb7ba2c3e74174803f812..bc0875502d0fca20b51bf04566a73b17211fc336 100644 (file)
@@ -437,7 +437,7 @@ InspIRCd::InspIRCd(int argc, char** argv) :
                int j = 1;
                for (FailedPortList::iterator i = pl.begin(); i != pl.end(); i++, j++)
                {
-                       std::cout << j << ".\tAddress: " << (i->first.empty() ? "<all>" : i->first) << " \tReason: " << i->second << std::endl;
+                       std::cout << j << ".\tAddress: " << i->first.str() << " \tReason: " << strerror(i->second) << std::endl;
                }
 
                std::cout << std::endl << "Hint: Try using a public IP instead of blank or *" << std::endl;