mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-08 06:03:12 +02:00
If you write things this way then it's easy to miss a parv[0] fetch..
This commit is contained in:
@@ -101,7 +101,7 @@ DLLFUNC CMD_FUNC(m_ison)
|
||||
return 0;
|
||||
}
|
||||
|
||||
ircsnprintf(buf, sizeof(buf), rpl_str(RPL_ISON), me.name, *parv);
|
||||
ircsnprintf(buf, sizeof(buf), rpl_str(RPL_ISON), me.name, sptr->name);
|
||||
len = strlen(buf);
|
||||
|
||||
for (s = strtoken(&p, *++pav, " "); s; s = strtoken(&p, NULL, " "))
|
||||
|
||||
Reference in New Issue
Block a user