[Phpfreechat-svn] SF.net SVN: phpfreechat: [913] trunk/src/commands/kick.class.php
Status: Beta
Brought to you by:
kerphi
From: <ke...@us...> - 2007-01-04 17:30:14
|
Revision: 913 http://svn.sourceforge.net/phpfreechat/?rev=913&view=rev Author: kerphi Date: 2007-01-04 09:30:14 -0800 (Thu, 04 Jan 2007) Log Message: ----------- Bug fix: the kick command was broken (thanks to http://sourceforge.net/tracker/index.php?func=detail&aid=1625158&group_id=158880&atid=809603) Modified Paths: -------------- trunk/src/commands/kick.class.php Modified: trunk/src/commands/kick.class.php =================================================================== --- trunk/src/commands/kick.class.php 2007-01-04 17:18:13 UTC (rev 912) +++ trunk/src/commands/kick.class.php 2007-01-04 17:30:14 UTC (rev 913) @@ -39,6 +39,7 @@ $channame = $u->channels[$recipientid]["name"]; $cmdstr = 'leave'; $cmdp = array(); + $cmdp['params'][] = 'ch'; $cmdp['params'][] = $channame; // channel name $cmdp['params'][] = _pfc("kicked from %s by %s - reason: %s", $channame, $sender, $reason); // reason pfcCommand::AppendCmdToPlay($otherid, $cmdstr, $cmdp); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |