1
0
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:
Bram Matthys
2015-07-14 12:48:35 +02:00
parent d9756b8254
commit 2e7ad2f9f7
+1 -1
View File
@@ -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, " "))