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

Comparing ircd-hybrid/trunk/modules/m_motd.c (file contents):
Revision 9396 by michael, Sat May 9 20:54:46 2020 UTC vs.
Revision 9397 by michael, Thu May 14 19:26:52 2020 UTC

# Line 77 | Line 77 | m_motd(struct Client *source_p, int parc
77    last_used = event_base->time.sec_monotonic;
78  
79    if (ConfigServerHide.disable_remote_commands == 0)
80 <    if (server_hunt(source_p, ":%s MOTD :%s", 1, parc, parv)->ret != HUNTED_ISME)
80 >    if (server_hunt(source_p, ":%s MOTD :%s", 1, parv)->ret != HUNTED_ISME)
81        return;
82  
83    do_motd(source_p);
# Line 97 | Line 97 | m_motd(struct Client *source_p, int parc
97   static void
98   ms_motd(struct Client *source_p, int parc, char *parv[])
99   {
100 <  if (server_hunt(source_p, ":%s MOTD :%s", 1, parc, parv)->ret != HUNTED_ISME)
100 >  if (server_hunt(source_p, ":%s MOTD :%s", 1, parv)->ret != HUNTED_ISME)
101      return;
102  
103    do_motd(source_p);

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)