aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTill Hoeppner2015-05-05 21:50:27 +0200
committerTill Hoeppner2015-05-05 21:50:27 +0200
commit58d8617ac1c43ec1fab96efa70fa2a82665c55e6 (patch)
treed5a09fb03c212ead431934865e4e756ed610fcfe
parente12b46f417331f5084cf766cff15d207f875fa75 (diff)
downloadirsc-58d8617ac1c43ec1fab96efa70fa2a82665c55e6.tar.gz
irsc-58d8617ac1c43ec1fab96efa70fa2a82665c55e6.tar.xz
irsc-58d8617ac1c43ec1fab96efa70fa2a82665c55e6.zip
Move USER/realname parameter into suffix
-rw-r--r--src/command.rs4
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),