X-Git-Url: http://git.pk910.de/?p=PHP-P10.git;a=blobdiff_plain;f=Uplink%2FP10Formatter.class.php;h=44b1c28b55c1fbcd866e7492fbd18e2d81234d8f;hp=7fd8c0871c0fe5e598dcb8ff7eef942746b1619e;hb=7f51193ddac01b0540000c756c50167ff015e02a;hpb=93c926f46127994d4fd9f1cd2aafca77c20d958b diff --git a/Uplink/P10Formatter.class.php b/Uplink/P10Formatter.class.php index 7fd8c08..44b1c28 100644 --- a/Uplink/P10Formatter.class.php +++ b/Uplink/P10Formatter.class.php @@ -1,12 +1,12 @@ . * * * ************************************************************************ - * + * * Uplink/P10Formatter.class.php * * This file contains the command formatter. @@ -24,7 +24,7 @@ */ class P10Formatter { - + private static $commands = array( "PASS" => "PASS :%s", "SERVER" => "SERVER %s 1 %s %s J10 %s]]] +s6 :%s", @@ -52,9 +52,9 @@ class P10Formatter { "318" => "{num} 318 %s %s :End of /WHOIS list.", "401" => "{num} 401 %s %s :No such nick", "SQ" => "{num} SQ :%s", - null => null + null => null ); - + public static function formatCMD($numeric, $command, $args) { if(array_key_exists($command, self::$commands)) { $command = self::$commands[$command];