]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_showwhois.cpp
Increase the size of the matrix for map drawing to 250x250
[user/henk/code/inspircd.git] / src / modules / m_showwhois.cpp
index c3964989669147896c609719176898cbd9a6ce07..05f70b4c4063457b62f43116903c2b1ec2085c04 100644 (file)
@@ -51,14 +51,14 @@ class SeeWhois : public ModeHandler
 
 class ModuleShowwhois : public Module
 {
-       
+
        SeeWhois* sw;
 
  public:
 
        ModuleShowwhois(InspIRCd* Me) : Module(Me)
        {
-               
+
                sw = new SeeWhois(ServerInstance);
                if (!ServerInstance->Modes->AddMode(sw))
                        throw ModuleException("Could not add new modes!");
@@ -84,11 +84,11 @@ class ModuleShowwhois : public Module
                {
                        if (IS_LOCAL(dest))
                        {
-                               dest->WriteServ("NOTICE %s :*** %s (%s@%s) did a /whois on you.",dest->nick.c_str(),source->nick.c_str(),source->ident.c_str(),source->host);
+                               dest->WriteServ("NOTICE %s :*** %s (%s@%s) did a /whois on you.", dest->nick.c_str(), source->nick.c_str(), source->ident.c_str(), source->host.c_str());
                        }
                        else
                        {
-                               std::string msg = std::string(":") + dest->server + " NOTICE " + dest->nick + " :*** " + source->nick + " (" + source->ident + "@" + source->host + ") did a /whois on you.";
+                               std::string msg = std::string(":") + dest->server + " NOTICE " + dest->nick + " :*** " + source->nick + " (" + source->ident + "@" + source->host.c_str() + ") did a /whois on you.";
                                ServerInstance->PI->PushToClient(dest, msg);
                        }
                }