From 58d8617ac1c43ec1fab96efa70fa2a82665c55e6 Mon Sep 17 00:00:00 2001 From: Till Hoeppner Date: Tue, 5 May 2015 21:50:27 +0200 Subject: Move USER/realname parameter into suffix --- src/command.rs | 4 ++-- 1 file 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), -- cgit v1.2.3