[TASK] Implemented 372 in IrcProtocolHandler.
This commit is contained in:
parent
7e7ac368b2
commit
23ca3e0554
|
@ -53,8 +53,11 @@ class Protocol_IrcProtocolHandler extends Protocol_AbstractProtocolHandler {
|
|||
//we'll write these values into the contentObject later!
|
||||
//contains a user or the channel a command is addressed to.
|
||||
$target = "";
|
||||
//parameters of the command
|
||||
$params = "";
|
||||
//content or message
|
||||
$message = "";
|
||||
//affected nickname
|
||||
$subject = "";
|
||||
|
||||
//command-dependent parsing
|
||||
|
@ -109,6 +112,11 @@ class Protocol_IrcProtocolHandler extends Protocol_AbstractProtocolHandler {
|
|||
unset($pieces);
|
||||
break;
|
||||
|
||||
//MOTD content
|
||||
case "372":
|
||||
list($target, $message) = explode(" :", $data);
|
||||
break;
|
||||
|
||||
//user, comment
|
||||
case "KILL":
|
||||
case "MODE":
|
||||
|
@ -136,7 +144,6 @@ class Protocol_IrcProtocolHandler extends Protocol_AbstractProtocolHandler {
|
|||
case "353":
|
||||
//NAMES end
|
||||
case "366":
|
||||
case "372":
|
||||
|
||||
//MOTD start
|
||||
case "375":
|
||||
|
|
Loading…
Reference in New Issue