- fix typo

This commit is contained in:
William Pitcock 2013-05-25 08:20:53 +00:00
parent 91f4e1591d
commit 24363fd276

View file

@ -1421,7 +1421,7 @@ void sendto_message_one(aClient *to, aClient *from, char *sender,
char *cmd, char *nick, char *msg)
{
sendto_prefix_one(to, from, ":%s %s %s :%s",
CHECKPROTO(to->from, PROTO_SID) ? ID(from) : sender, cmd, nick, msg);
CHECKPROTO(to->from, PROTO_SID) ? ID(from) : from->name, cmd, nick, msg);
}
/* sidenote: sendnotice() and sendtxtnumeric() assume no client or server