ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/m_topic.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/modules/m_topic.c (file contents):
Revision 7086 by michael, Fri Jan 1 00:09:08 2016 UTC vs.
Revision 7087 by michael, Fri Jan 22 17:15:30 2016 UTC

# Line 145 | Line 145 | ms_topic(struct Client *source_p, int pa
145    struct Channel *chptr = NULL;
146    char topic_info[NICKLEN + USERLEN + HOSTLEN + 3];  /* +3 for !, @, \0 */
147  
148 <  if (EmptyString(parv[1]))
148 >  if (parc < 3)
149    {
150      sendto_one_numeric(source_p, &me, ERR_NEEDMOREPARAMS, "TOPIC");
151      return 0;

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines