/[svn]/ircd-hybrid-8/modules/core/m_message.c
ViewVC logotype

Diff of /ircd-hybrid-8/modules/core/m_message.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1480 by michael, Sun Jul 22 17:25:34 2012 UTC revision 1481 by michael, Tue Jul 24 17:50:34 2012 UTC
# Line 764  handle_special(int p_or_n, const char *c Line 764  handle_special(int p_or_n, const char *c
764        if (host != NULL)        if (host != NULL)
765          *host++ = '\0';          *host++ = '\0';
766    
       /* Check if someones msg'ing opers@our.server */  
       if (strcmp(nick, "opers") == 0)  
       {  
         if (!HasUMode(source_p, UMODE_OPER))  
           sendto_one(source_p, form_str(ERR_NOPRIVILEGES),  
                      ID_or_name(&me, client_p),  
                      ID_or_name(source_p, client_p));  
         else  
           sendto_realops_flags(UMODE_ALL, L_ALL, "To opers: From: %s: %s",  
                                source_p->name, text);  
         return;  
       }  
   
767        /*        /*
768         * Look for users which match the destination host         * Look for users which match the destination host
769         * (no host == wildcard) and if one and one only is         * (no host == wildcard) and if one and one only is

Legend:
Removed from v.1480  
changed lines
  Added in v.1481

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.28