From 2e7ad2f9f74fd52af099d6e8f46f341bf0c2addb Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Tue, 14 Jul 2015 12:48:35 +0200 Subject: [PATCH] If you write things this way then it's easy to miss a parv[0] fetch.. --- src/modules/m_ison.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/m_ison.c b/src/modules/m_ison.c index 59e356396..5900b5433 100644 --- a/src/modules/m_ison.c +++ b/src/modules/m_ison.c @@ -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, " "))