]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_ssl_dummy.cpp
To be more specific, specify rpath() macro here
[user/henk/code/inspircd.git] / src / modules / m_ssl_dummy.cpp
index fadccae1e41701ece5a582164841cf84f4cab4e1..69e4da3e1670566e738d81d412e032ac58535026 100644 (file)
@@ -1,22 +1,19 @@
-/*   +------------------------------------+
- *   | Inspire Internet Relay Chat Daemon |
- *   +------------------------------------+
+/*       +------------------------------------+
+ *       | Inspire Internet Relay Chat Daemon |
+ *       +------------------------------------+
+ *
+ *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
+ * See: http://www.inspircd.org/wiki/index.php/Credits
  *
- *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
- *   E-mail:
- *     <brain@chatspike.net>
- *     <Craig@chatspike.net>
- * <omster@gmail.com>
- * 
- * Written by Craig Edwards, Craig McLure, and others.
  * This program is free but copyrighted software; see
- *the file COPYING for details.
+ *            the file COPYING for details.
  *
  * ---------------------------------------------------
  */
 
 #include "users.h"
 #include "modules.h"
+#include "inspircd.h"
 
 
 /* $ModDesc: Makes remote /whoises to SSL servers work on a non-ssl server */
@@ -51,7 +48,7 @@ class ModuleSSLDummy : public Module
        {
                if(dest->GetExt("ssl", dummy))
                {
-                       source->WriteServ("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, dest->nick);
                }
        }