Bryan Drewery 21 سال پیش
والد
کامیت
68eb6349d1
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      src/mod/irc.mod/chan.c

+ 2 - 1
src/mod/irc.mod/chan.c

@@ -157,6 +157,7 @@ void priority_do(struct chanset_t * chan, bool opsonly, int action)
         }
     }
   }
+
   if (!targets || !ops)
     return;
 
@@ -1004,7 +1005,7 @@ take_massopline(char *op, char **to_op)
        *nick = NULL;
   register bool useop = 0;
 
-  for (int i = 0; i < modesperline; i++) {
+  for (unsigned int i = 0; i < modesperline; i++) {
     if (*to_op[0] || op) {
       /* if 'op' then use it, then move on to to_op */
       if (!useop && op) {