projects
/
PHP-P10.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added Server PING -> PONG
[PHP-P10.git]
/
Uplink
/
P10Formatter.class.php
diff --git
a/Uplink/P10Formatter.class.php
b/Uplink/P10Formatter.class.php
index 66bf379a505ba162e466536f2f5bee2d89ace48d..73d620d7558b5b5797f37bf04e48783a6b9e6d38 100644
(file)
--- a/
Uplink/P10Formatter.class.php
+++ b/
Uplink/P10Formatter.class.php
@@
-37,7
+37,9
@@
class P10Formatter {
private static $commands = array(
"PASS" => "PASS :%s",
"SERVER" => "SERVER %s 1 %s %s J10 %s]]] +s6 :%s",
private static $commands = array(
"PASS" => "PASS :%s",
"SERVER" => "SERVER %s 1 %s %s J10 %s]]] +s6 :%s",
- "ERROR" => "ERROR :%s"
+ "ERROR" => "ERROR :%s",
+ "Z" => "{num} Z %s",
+ null => null
);
public static function formatCMD($numeric, $command, $args) {
);
public static function formatCMD($numeric, $command, $args) {