Skip to content

Commit 8624da5

Browse files
committed
remove unused functions
1 parent d222fe9 commit 8624da5

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

cluebot.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function send(/*@args*/) {
1414
global $socket;
1515

1616
$args = func_get_args();
17-
$str = ircimplode($args);
17+
$str = Message::implode($args);
1818
return fwrite($socket, $str);
1919
}
2020

libirc.php

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ function __construct($tags, $prefix, $params) {
1717
static function parse($str) {
1818
$tags = array();
1919
$prefix = null;
20-
$params = ircexplode($str);
20+
$params = self::explode($str);
2121

2222
if ($params[0][0] === "@") {
2323
$tags = array_shift($params);
@@ -98,18 +98,6 @@ static function parse($prefix) {
9898
}
9999
}
100100

101-
function ircexplode($str) {
102-
return Message::explode($str);
103-
}
104-
105-
function ircimplode($params) {
106-
return Message::implode($params);
107-
}
108-
109-
function prefixparse($prefix) {
110-
return MessagePrefix::parse($prefix);
111-
}
112-
113101
function ischannel($target) {
114102
return $target[0] == "#";
115103
}

0 commit comments

Comments
 (0)