]> 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 7eb909c109756f7c3045fca74aa904f74fd567f0..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.
@@ -25,8 +25,8 @@ extern "C" DllExport Command* init_command(InspIRCd* Instance)
 
 /** Handle /CONNECT
  */
-CmdResult CommandConnect::Handle (const char**, int, User *user)
+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;
 }