diff options
author | Till Hoeppner | 2015-05-05 21:50:27 +0200 |
---|---|---|
committer | Till Hoeppner | 2015-05-05 21:50:27 +0200 |
commit | 58d8617ac1c43ec1fab96efa70fa2a82665c55e6 (patch) | |
tree | d5a09fb03c212ead431934865e4e756ed610fcfe | |
parent | e12b46f417331f5084cf766cff15d207f875fa75 (diff) | |
download | irsc-58d8617ac1c43ec1fab96efa70fa2a82665c55e6.tar.gz irsc-58d8617ac1c43ec1fab96efa70fa2a82665c55e6.tar.xz irsc-58d8617ac1c43ec1fab96efa70fa2a82665c55e6.zip |
Move USER/realname parameter into suffix
-rw-r--r-- | src/command.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/command.rs b/src/command.rs index 534fac6..883db7e 100644 --- a/src/command.rs +++ b/src/command.rs @@ -1630,8 +1630,8 @@ impl<'a> Command<'a> { Message::format(None, Borrowed("NICK"), vec![], Some(nick.clone()), MsgType::Irc), &USER(ref user, ref mode, ref unused, ref realname) => Message::format(None, Borrowed("USER"), - vec![user.clone(), mode.clone(), unused.clone(), realname.clone()], - None, MsgType::Irc), + vec![user.clone(), mode.clone(), unused.clone()], + Some(realname.clone()), MsgType::Irc), &OPER(ref name, ref pw) => Message::format(None, Borrowed("OPER"), vec![name.clone(), pw.clone()], None, MsgType::Irc), |