/[svn]/branches/newio/modules/core/m_mode.c
ViewVC logotype

Diff of /branches/newio/modules/core/m_mode.c

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

revision 2641 by michael, Sun Nov 17 15:37:25 2013 UTC revision 2642 by michael, Tue Dec 10 19:18:55 2013 UTC
# Line 94  m_mode(struct Client *client_p, struct C Line 94  m_mode(struct Client *client_p, struct C
94     * servers have always gotten away with murder,     * servers have always gotten away with murder,
95     * including telnet servers *g* - Dianora     * including telnet servers *g* - Dianora
96     */     */
97    if (IsServer(source_p))    if (IsServer(source_p) || HasFlag(source_p, FLAGS_SERVICE))
98      set_channel_mode(client_p, source_p, chptr, NULL, parc - 2, parv + 2,      set_channel_mode(client_p, source_p, chptr, NULL, parc - 2, parv + 2,
99                       chptr->chname);                       chptr->chname);
100    else    else
# Line 135  ms_tmode(struct Client *client_p, struct Line 135  ms_tmode(struct Client *client_p, struct
135    if (atol(parv[1]) > chptr->channelts)    if (atol(parv[1]) > chptr->channelts)
136      return 0;      return 0;
137    
138    if (IsServer(source_p))    if (IsServer(source_p) || HasFlag(source_p, FLAGS_SERVICE))
139      set_channel_mode(client_p, source_p, chptr, NULL, parc - 3, parv + 3, chptr->chname);      set_channel_mode(client_p, source_p, chptr, NULL, parc - 3, parv + 3, chptr->chname);
140    else    else
141    {    {

Legend:
Removed from v.2641  
changed lines
  Added in v.2642

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