X-Git-Url: http://git.pk910.de/?a=blobdiff_plain;f=Uplink%2FP10Formatter.class.php;h=7fd8c0871c0fe5e598dcb8ff7eef942746b1619e;hb=2f0f5cc68df94a828efa64b55ba34be1a243c5a0;hp=b5cba3d7689636decb9ffeb906c0c3f4b628aff8;hpb=61ea565f8e0161c0f0f75aac75682941fc2a3611;p=PHP-P10.git diff --git a/Uplink/P10Formatter.class.php b/Uplink/P10Formatter.class.php index b5cba3d..7fd8c08 100644 --- a/Uplink/P10Formatter.class.php +++ b/Uplink/P10Formatter.class.php @@ -1,22 +1,19 @@ . * * * ************************************************************************ * @@ -24,12 +21,6 @@ * * This file contains the command formatter. * - ************************************************************************ - * accessable methods: - * - * static String formatCMD(String $numeric, String $command, String[] $args) - * builds the command with the given arguments - * */ class P10Formatter { @@ -50,8 +41,17 @@ class P10Formatter { "P" => "%s P %s :%s", "O" => "%s O %s :%s", "M" => "%s M %s %s", + "L" => "%s L %s :%s", "SM" => "%s SM %s %s", "OM" => "%s OM %s %s", + "311" => "{num} 311 %s %s %s %s * :%s", + "319" => "{num} 319 %s %s :%s", + "312" => "{num} 312 %s %s %s :%s", + "313" => "{num} 313 %s %s :%s", + "330" => "{num} 330 %s %s %s :is logged in as", + "318" => "{num} 318 %s %s :End of /WHOIS list.", + "401" => "{num} 401 %s %s :No such nick", + "SQ" => "{num} SQ :%s", null => null );