]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/commands/cmd_connect.cpp
Fix OnSetAway hook denying remote users' change rather than local users
[user/henk/code/inspircd.git] / src / commands / cmd_connect.cpp
index 81340c37a2c742ba9bb234a7212aa778a66469bc..073993f8c63c861c79e49e78d5eb82c6d4217488 100644 (file)
@@ -2,8 +2,8 @@
  *       | Inspire Internet Relay Chat Daemon |
  *       +------------------------------------+
  *
- *  InspIRCd: (C) 2002-2008 InspIRCd Development Team
- * See: http://www.inspircd.org/wiki/index.php/Credits
+ *  InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * See: http://wiki.inspircd.org/Credits
  *
  * This program is free but copyrighted software; see
  *            the file COPYING for details.
@@ -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;
 }