aboutsummaryrefslogtreecommitdiff
path: root/src/command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/command.rs')
-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),