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

Comparing ircd-hybrid/trunk/modules/m_module.c (file contents):
Revision 1617 by michael, Sat Oct 27 21:02:32 2012 UTC vs.
Revision 1618 by michael, Tue Oct 30 21:04:38 2012 UTC

# Line 165 | Line 165 | mo_module(struct Client *client_p, struc
165        load_conf_modules();
166        load_core_modules(0);
167  
168 <      sendto_realops_flags(UMODE_ALL, L_ALL,
168 >      sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
169                             "Module Restart: %u modules unloaded, %u modules loaded",
170                             modnum, dlink_list_length(&modules_list));
171        ilog(LOG_TYPE_IRCD, "Module Restart: %u modules unloaded, %u modules loaded",
# Line 199 | Line 199 | mo_module(struct Client *client_p, struc
199  
200      if ((load_one_module(parv[2]) == -1) && check_core)
201      {
202 <      sendto_realops_flags(UMODE_ALL, L_ALL, "Error reloading core "
202 >      sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
203 >                           "Error reloading core "
204                             "module: %s: terminating ircd", parv[2]);
205        ilog(LOG_TYPE_IRCD, "Error loading core module %s: terminating ircd", parv[2]);
206        exit(0);

Diff Legend

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