[srvx-commits] CVS: services/src chanserv.c,1.365,1.366
                
                Brought to you by:
                
                    entrope
                    
                
            
            
        
        
        
    | 
      
      
      From: Entrope <en...@us...> - 2003-07-15 03:35:30
      
     | 
| Update of /cvsroot/srvx/services/src
In directory sc8-pr-cvs1:/tmp/cvs-serv29231/src
Modified Files:
	chanserv.c 
Log Message:
don't crash on !cunsuspend of an unsuspended channel
Index: chanserv.c
===================================================================
RCS file: /cvsroot/srvx/services/src/chanserv.c,v
retrieving revision 1.365
retrieving revision 1.366
diff -C2 -r1.365 -r1.366
*** chanserv.c	14 Jul 2003 13:27:08 -0000	1.365
--- chanserv.c	15 Jul 2003 03:35:26 -0000	1.366
***************
*** 4875,4879 ****
      if(!IsSuspended(channel->channel_info))
      {
!         chanserv_notice(user, CSMSG_NOT_SUSPENDED, argv[1]);
          return 0;
      }
--- 4875,4879 ----
      if(!IsSuspended(channel->channel_info))
      {
!         chanserv_notice(user, CSMSG_NOT_SUSPENDED, channel->name);
          return 0;
      }
***************
*** 4891,4894 ****
--- 4891,4895 ----
      global_message(MESSAGE_RECIPIENT_OPERS | MESSAGE_RECIPIENT_HELPERS, message);
      return 1;
+     (void)argv;
  }
  
 |