/[weechat]/weechat/src/irc/irc-recv.c
ViewVC logotype

Diff of /weechat/src/irc/irc-recv.c

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

revision 1.71 by flashcode, Wed Jul 13 17:40:20 2005 UTC revision 1.72 by flashcode, Sat Jul 16 12:37:30 2005 UTC
# Line 637  void irc_get_channel_modes (t_irc_channe Line 637  void irc_get_channel_modes (t_irc_channe
637                  SET_CHANNEL_MODE(ptr_channel, (set_flag == '+'),                  SET_CHANNEL_MODE(ptr_channel, (set_flag == '+'),
638                      CHANNEL_MODE_SECRET);                      CHANNEL_MODE_SECRET);
639                  break;                  break;
640                case 'q':
641                    pos = NULL;
642                    if (parm)
643                    {
644                        pos = strchr (parm, ' ');
645                        if (pos)
646                            pos[0] = '\0';
647                    }
648                    if (nick_host)
649                        irc_display_mode (ptr_channel->buffer,
650                                          channel_name, set_flag, "q", nick_host,
651                                          (set_flag == '+') ?
652                                              _("sets quiet on") :
653                                              _("removes quiet on"),
654                                          (parm) ? parm : NULL);
655                    
656                    /* look for next parameter */
657                    if (parm && pos)
658                    {
659                        pos++;
660                        while (pos[0] == ' ')
661                            pos++;
662                        parm = pos;
663                    }
664                    break;
665              case 's':              case 's':
666                  if (nick_host)                  if (nick_host)
667                      irc_display_mode (ptr_channel->buffer,                      irc_display_mode (ptr_channel->buffer,

Legend:
Removed from v.1.71  
changed lines
  Added in v.1.72

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26