]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_connect.cpp
Remove/Add cmode h according to <option:allowhalfop>. Fixes bug #715 reported by...
[user/henk/code/inspircd.git] / src / commands / cmd_connect.cpp
index 81340c37a2c742ba9bb234a7212aa778a66469bc..1e4b1c47d81b5d0f152cebdb06bbc987903e1232 100644 (file)
@@ -2,7 +2,7 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
  * See: http://www.inspircd.org/wiki/index.php/Credits
  *
  * This program is free but copyrighted software; see
@@ -27,6 +27,6 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance)
  */
 CmdResult CommandConnect::Handle (const std::vector<std::string>&, User *user)
 {
-       user->WriteServ( "NOTICE %s :Look into loading a linking module (like m_spanningtree) if you want this to do anything useful.", user->nick);
+       user->WriteServ( "NOTICE %s :Look into loading a linking module (like m_spanningtree) if you want this to do anything useful.", user->nick.c_str());
        return CMD_SUCCESS;
 }