aboutsummaryrefslogtreecommitdiff
path: root/src/command.rs
diff options
context:
space:
mode:
authorTill Hoeppner2015-06-27 23:40:38 +0200
committerTill Hoeppner2015-06-27 23:40:38 +0200
commit577a0662897efb105ab794444fbeb62c783c3b16 (patch)
treeeec1b164c6698f6b3055ce65cfb05d16d76cf7aa /src/command.rs
parent1e1dd0b217b627ce24ce280c5cf5e9dd27a38ba2 (diff)
downloadirsc-577a0662897efb105ab794444fbeb62c783c3b16.tar.gz
irsc-577a0662897efb105ab794444fbeb62c783c3b16.tar.xz
irsc-577a0662897efb105ab794444fbeb62c783c3b16.zip
Add to_static functionality for Replies
Diffstat (limited to 'src/command.rs')
-rw-r--r--src/command.rs12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/command.rs b/src/command.rs
index 6f849d9..9ed95d7 100644
--- a/src/command.rs
+++ b/src/command.rs
@@ -1876,18 +1876,6 @@ impl<'a> Command<'a> {
Message::format(None, Borrowed("PING"), vec![s1.clone()], s2.clone(), MsgType::Irc),
&PONG(ref s1, ref s2) =>
Message::format(None, Borrowed("PONG"), vec![s1.clone()], s2.clone(), MsgType::Irc),
- /*&Command::PING(ref server1, ref server2) => {
- let mut c = Vec::new();
- c.push(server1.clone());
- if let &Some(ref s) = server2 { c.push(s.clone()) }
- Message::format(None, "PING", c, None, MsgType::Irc)
- },
- &Command::PONG(ref server1, ref server2) => {
- let mut c = Vec::new();
- c.push(server1.clone());
- if let &Some(ref s) = server2 { c.push(s.clone()) }
- Message::format(None, "PONG", c, None, MsgType::Irc)
- },*/
_ => unimplemented!()
}
}