From: michael Date: Sat, 30 May 2015 19:28:18 +0000 (+0000) Subject: - irc.c:m_privmsg(): style corrections X-Git-Tag: 1.1.0beta1~77 X-Git-Url: http://git.serene-ircd.net/?a=commitdiff_plain;h=f7d19b54e4feb383502fa0c44152d01391012ee4;p=hopm.git - irc.c:m_privmsg(): style corrections git-svn-id: svn://svn.ircd-hybrid.org/svnroot/hopm/trunk@6011 82007160-df01-0410-b94d-b575c5fd34c7 --- diff --git a/src/irc.c b/src/irc.c index 8d96d10..3094147 100644 --- a/src/irc.c +++ b/src/irc.c @@ -768,14 +768,14 @@ m_privmsg(char *parv[], unsigned int parc, const char *msg, const struct UserInf return; /* CTCP */ - if (parv[3][0] == '\001') + if (*parv[3] == '\001') { m_ctcp(parv, parc, msg, source_p); return; } /* Only interested in privmsg to channels */ - if (parv[2][0] != '#' && parv[2][0] != '&') + if (*parv[2] != '#' && *parv[2] != '&') return; /* Get a target */