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

Comparing ircd-hybrid/trunk/src/ircd.c (file contents):
Revision 8656 by michael, Sun Nov 11 20:19:17 2018 UTC vs.
Revision 8658 by michael, Mon Nov 12 19:03:09 2018 UTC

# Line 71 | Line 71 | char **myargv;
71   const char *logFileName = LPATH;
72   const char *pidFileName = PPATH;
73  
74 < unsigned int dorehash;
75 < unsigned int doremotd;
74 > bool dorehash;
75 > bool doremotd;
76  
77 < static int printVersion;
77 > static bool printVersion;
78  
79   static struct lgetopt myopts[] =
80   {
# Line 183 | Line 183 | io_loop(void)
183      free_exited_clients();
184  
185      /* Check to see whether we have to rehash the configuration. */
186 <    if (dorehash)
186 >    if (dorehash == true)
187      {
188 <      conf_rehash(1);
189 <      dorehash = 0;
188 >      conf_rehash(true);
189 >      dorehash = false;
190      }
191  
192 <    if (doremotd)
192 >    if (doremotd == true)
193      {
194        motd_recache();
195        sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
196                             "Got signal SIGUSR1, reloading motd file(s)");
197 <      doremotd = 0;
197 >      doremotd = false;
198      }
199    }
200   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines