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

Comparing ircd-hybrid/trunk/src/modules.c (file contents):
Revision 5347 by michael, Sun Jan 11 12:42:20 2015 UTC vs.
Revision 6318 by michael, Wed Aug 5 16:04:43 2015 UTC

# Line 106 | Line 106 | unload_one_module(const char *name, int
106    if (warn == 1)
107    {
108      ilog(LOG_TYPE_IRCD, "Module %s unloaded", name);
109 <    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
109 >    sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
110                           "Module %s unloaded", name);
111    }
112  
# Line 133 | Line 133 | load_a_module(const char *path, int warn
133    {
134      const char *err = ((err = lt_dlerror())) ? err : "<unknown>";
135  
136 <    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
136 >    sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
137                           "Error loading module %s: %s",
138                           mod_basename, err);
139      ilog(LOG_TYPE_IRCD, "Error loading module %s: %s", mod_basename, err);
# Line 144 | Line 144 | load_a_module(const char *path, int warn
144    {
145      const char *err = ((err = lt_dlerror())) ? err : "<unknown>";
146  
147 <    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
147 >    sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
148                           "Error loading module %s: %s",
149                           mod_basename, err);
150      ilog(LOG_TYPE_IRCD, "Error loading module %s: %s", mod_basename, err);
# Line 165 | Line 165 | load_a_module(const char *path, int warn
165  
166    if (warn == 1)
167    {
168 <    sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
168 >    sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
169                           "Module %s [version: %s handle: %p] loaded.",
170                           modp->name, modp->version, tmpptr);
171      ilog(LOG_TYPE_IRCD, "Module %s [version: %s handle: %p] loaded.",
# Line 406 | Line 406 | load_one_module(const char *name)
406            return load_a_module(path, 1);
407    }
408  
409 <  sendto_realops_flags(UMODE_ALL, L_ALL, SEND_NOTICE,
409 >  sendto_realops_flags(UMODE_SERVNOTICE, L_ALL, SEND_NOTICE,
410                         "Cannot locate module %s", name);
411    ilog(LOG_TYPE_IRCD, "Cannot locate module %s", name);
412    return -1;

Diff Legend

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