]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_ssl_dummy.cpp
Fix user->host not being assigned correctly for new connections
[user/henk/code/inspircd.git] / src / modules / m_ssl_dummy.cpp
index 2c8627d252ccaed2edde367aa72e2ad1f563b0de..143e1199d7e5b6b5982d4d1061e2dd68761193db 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
@@ -43,7 +43,7 @@ class ModuleSSLDummy : public Module
        {
                if(dest->GetExt("ssl", dummy))
                {
-                       ServerInstance->SendWhoisLine(source, dest, 320, "%s %s :is using a secure connection", source->nick, dest->nick);
+                       ServerInstance->SendWhoisLine(source, dest, 320, "%s %s :is using a secure connection", source->nick.c_str(), dest->nick.c_str());
                }
        }